Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

psd: use byte counts for scan lines #312

Merged
merged 4 commits into from
Jun 21, 2024
Merged

Conversation

qbnu
Copy link
Contributor

@qbnu qbnu commented Jun 12, 2024

Some PSDs rely on the byte counts for each scan line to be decoded correctly. ImageMagick seems to add a pad byte to each row in some cases when exporting to PSD. Example

Also, "Desktop2.psd" from ImageMagick/ImageMagick#1962 overshoots by 4 bytes on row 520 of the red plane. It fails to decode unless we use the byte counts.

@qbnu qbnu marked this pull request as ready for review June 13, 2024 01:38
@qbnu qbnu mentioned this pull request Jun 19, 2024
@sylikc sylikc added the format support Related to add/remove/change of a specific format support. label Jun 21, 2024
@sylikc sylikc merged commit b1763e5 into sylikc:master Jun 21, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
format support Related to add/remove/change of a specific format support.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants