Method: VIPS::JPEGReader#initialize

Defined in:
lib/vips/reader.rb

#initialize(path, options = {}) ⇒ JPEGReader

Creates a jpeg image file reader.

[View source]

36
37
38
39
40
41
42
# File 'lib/vips/reader.rb', line 36

def initialize(path, options={})
  @shrink_factor = options[:shrink_factor] || 1
  @fail_on_warn = options[:fail_on_warn] || false
  @sequential = options[:sequential] || false

  super path, options
end