Skip to content

Conversation

@Shnatsel
Copy link
Member

Tested manually using Shnatsel/wondermagick#84 and the image from #1756

I've confirmed that the ICC profile written this way can be read back both by image and by imagemagick.

@Shnatsel
Copy link
Member Author

Wait, this seems to be missing set_icc_profile implementation to actually modify the icc field. Then how did it pass all my manual tests? I was convinced that I verified the behavior was wrong before and correct after!

Let me make it into a draft and double-check.

@Shnatsel Shnatsel marked this pull request as draft January 28, 2026 21:59
@Shnatsel
Copy link
Member Author

Oh, I've accidentally used a TIFF file produced by imagemagick for testing instead of wondermagick. I've deleted it and re-tested with this branch, the ICC profile does correctly roundtrip through PNG->TIFF->PNG conversion and the resulting image looks the same as the starting PNG.

@Shnatsel Shnatsel marked this pull request as ready for review January 28, 2026 22:11
@Shnatsel Shnatsel merged commit e8a3c04 into image-rs:main Jan 28, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants