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, ={}) super image @format = :binary self.format = [:format] if .has_key?(:format) end |