Skip to content

Jpegoptim changes ImageMagick rgb decode of a few images #77

@dreamlayers

Description

@dreamlayers

In the past I verified that jpegoptim does not alter images by doing an ImageMagick convert rgb decode before and after, and then comparing md5 sums. Right now I'm finding that some images are altered. I'm attaching one here: P7010105 A quick glance through cmp -l output shows that many pixel values are changed by 1. (Example JPEG file MD5 is be84d44f1c409d570e40e5a84571c3be, and I've verified that GitHub didn't alter it.)

This problem is present with v1.4.4 which I built myself, v1.4.6 which is available in Ubuntu 21.04 and v1.4.7beta which I just built from git source. I'm using convert "$i" "$i.rgb" with "ImageMagick 6.9.10-23 Q16 x86_64 20190101" which is part of Ubuntu 21.04. All of this is in Ubuntu 21.04, on two different x86_64 systems.

This happens both with normal and progressive (interlaced) output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions