carrierwave-vips
carrierwave-vips copied to clipboard
Configure read access to fix VipsJpeg: out of order read at line for rotation
PR provides configuration for VIPS::Image read access with :sequential as default
The problem i'm trying to solve is that method rotate crashes with "VipsJpeg: out of order read at line 2560" with 'sequential' access and works well with 'random' (VIPS author comment on that: https://github.com/libvips/pyvips/issues/96#issuecomment-486143543)
def rotate
manipulate! do |image|
image.rot90
end
end
Looking forward to hear a better decision