Method: VIPS::JPEGReader#initialize
- Defined in:
- lib/vips/reader.rb
permalink #initialize(path, options = {}) ⇒ JPEGReader
Creates a jpeg image file reader.
36 37 38 39 40 41 42 |
# File 'lib/vips/reader.rb', line 36 def initialize(path, ={}) @shrink_factor = [:shrink_factor] || 1 @fail_on_warn = [:fail_on_warn] || false @sequential = [:sequential] || false super path, end |