Skip to content

Can't load indexed color PSD file (regression) #2007

@nonkeltjebob

Description

@nonkeltjebob

Magick.NET version

Magick.NET-Q8-x64 14.12.0

Environment (Operating system, version and so on)

Linux / Windows - NET10

Description

Upgrading from 14.11.1 to 14.12.0 or 14.13.0 our CI is catching a conversion failure.
Simply loading the attached file now throws the exception:

ImageMagick.MagickCorruptImageErrorException: 'ImageMagick.MagickCorruptImageErrorException: 'insufficient image data in file `fish.psd' @ error/psd.c/ReadPSDImage/2708''

This file worked fine before and seems to load fine in graphic editors.

As reference, but not necessarily related to the current path, I logged a regression issue from the same test suite in the past: #1735.

Steps to Reproduce

Test file and small project: ImageMagickTest2.zip

Images

ImageMagickTest2.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions