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



272
273
274
# File 'lib/pnm/image.rb', line 272

def inspect
  inspect_string_without_maxgray
end

#typeObject



268
269
270
# File 'lib/pnm/image.rb', line 268

def type
  :pbm
end