Thanks to visit codestin.com
Credit goes to github.com

Skip to content

autorotate random access (VipsJpeg: out of order read) issue with vips 8.10 #105

Closed
@chregu

Description

@chregu

I have this strange issue, but just with the PHP extension, not with the vips commandline (couldn't recreate the issue there)

The following worked fine with 8.9

$vips = VipsImage::newFromFile("foo.jpg", ["autorotate" => true]);
$vips->jpegsave("result.jpg");

with the following jpg
foo

in 8.10 I get a several

(banana:278): VIPS-WARNING **: error in tile 0 x 208
VipsJpeg: out of order read at line 3024

But if I set the "access" to "sequential", like this

$vips = VipsImage::newFromFile("foo.jpg", ["autorotate" => true, "access" => 'sequential']);
$vips->jpegsave("result.jpg");

it works fine. I'd expect it the other way round with that error, that it should have access = random (which is the default, AFAIK).

Any idea, what could be wrong here? Just setting "access" to "sequential" everywhere might also not be the right choice for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions