Method: VIPS::PPMWriter#initialize

Defined in:
lib/vips/writer.rb

#initialize(image, options = {}) ⇒ PPMWriter

Returns a new instance of PPMWriter.


87
88
89
90
91
92
93
# File 'lib/vips/writer.rb', line 87

def initialize(image, options={})
  super image

  @format = :binary

  self.format = options[:format] if options.has_key?(:format)
end