Class: PNM::PBMImage

Inherits:
Image
  • Object
show all
Defined in:
lib/pnm/image.rb

Overview

Class for PBM images. See the Image class for documentation.

Instance Attribute Summary

Attributes inherited from Image

#comment, #height, #maxgray, #pixels, #width

Instance Method Summary collapse

Methods inherited from Image

#==, create, #info, #write

Instance Method Details

#inspectObject



300
301
302
# File 'lib/pnm/image.rb', line 300

def inspect
  inspect_string_without_maxgray
end

#typeObject



296
297
298
# File 'lib/pnm/image.rb', line 296

def type
  :pbm
end