Skip to content

PSD incorrectly loaded #6387

@gverm

Description

@gverm

What did you do?

I opened the TIFF in Pillow and converted it to JPG.

What did you expect to happen?

The JPG image to look the same as the original TIFF.

What actually happened?

The converted JPG looks malformed and has messed up colors.

What are your OS, Python and Pillow versions?

  • OS: Linux
  • Python: 3.10.5
  • Pillow: 9.1.1 (also tested -git)
>>> img = Image.open("3662b8bd397337482862ab1a06bf3366-OA_535_161_17_F_TE.tif")
>>> out_img = img.convert("RGB")
>>> out_img.save("converted.jpg", quality=95)

original image (beware, 274MB)
converted image

Is it okay to report this here or should I report this to the appropriate library (libtiff, jpeg-turbo, ?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions