Skip to content

(Backport) Issue #5438: GIMP renders certain PSDs incorrectly

Alx Sa requested to merge alxsa-backport-wormnest-psd-clipping into gimp-2-10

This backports two of @Wormnest's improvements to the PSD loading code to 2.10, e7f85f7b and e51d5d48.

These fixes improve loading PSDs with certain layer composition modes set. The difference can be see by testing the cropped NSFW image in this comment with the current 2.10 plug-in and the code provided in this patch (or the 2.99 plug-in).

The code is almost identical to the dev version. The only difference is changing GimpImage and GimpLayer to gint32 and related adjustments.

Merge request reports