Class: PNM::PGMImage
Overview
Class for PGM
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, #write_with_extension
Instance Method Details
#inspect ⇒ Object
334 335 336 |
# File 'lib/pnm/image.rb', line 334 def inspect inspect_string_with_maxgray end |
#type ⇒ Object
330 331 332 |
# File 'lib/pnm/image.rb', line 330 def type :pgm end |