Method: VIPS::JPEGReader#read

Defined in:
lib/vips/reader.rb

#readObject



44
45
46
47
48
49
50
51
52
53
54
55
56
57
# File 'lib/vips/reader.rb', line 44

def read
  str = "#{@path}:#{shrink_factor}"
  str << "," 
  str << "fail" if @fail_on_warn

  seq = 0
  if Vips.sequential_mode_supported?
    str << "," 
    str << "sequential" if @sequential
    seq = 1
  end

  @_im = read_internal str, seq
end