Closed ollm closed 3 months ago
Commit 2eb03b0 fixes this by preventing an unnecessary colour transformation plus adds a test that would previously have failed to help prevent regression, thanks for reporting.
Thanks you for the fix!
v0.33.5 now available with the fix.
Thanks you, I have tested the new version with different images and it works fine.
Question about an existing feature
What are you trying to achieve?
I'm trying to resize images while keeping the ICC profile and color space, currently it only seems to work with the P3 profile, with other profiles it seems like
sharp
stretches the image (And accumulates every time it is resized). I don't know if I'm doing something wrong.I am using
sharp 0.33.4
When you searched for similar issues, what did you find that might be related?
https://github.com/lovell/sharp/issues/4008, https://github.com/lovell/sharp/issues/3906 and https://github.com/lovell/sharp/issues/4128
Please provide a minimal, standalone code sample, without other dependencies, that demonstrates this question
Original
Resized with
keepIccProfile
Resized with
keepIccProfile
2 timesPlease provide sample image(s) that help explain this question
images.zip