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



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

def inspect
  inspect_string_without_maxgray
end

#typeObject



292
293
294
# File 'lib/pnm/image.rb', line 292

def type
  :pbm
end