You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* add Image#TransformICCProfileWithFallback
This fixes#314.
* add tests for Image#TransformICCProfileWithFallback()
* remove optimization from TransformICCProfileWithFallback
The code tried to avoid a no-op when transforming from profile A to profile A.
But it did not taken into account that the result should always contain
an ICC profile and that the no-op actually changes the image by applying
the target profile without modifying anything else.
Collapse file: resources/jpg-24bit-icc-adobe-rgb.TransformICCProfileWithFallback_RGB_source_with_ICC-linux-jammy_amd64_libvips-8.12.1-Wed Feb 2 14-43-28 UTC 2022.golden.jpeg
Collapse file: resources/jpg-24bit-rgb-no-icc.TransformICCProfileWithFallback_RGB_source_without_ICC-linux-jammy_amd64_libvips-8.12.1-Wed Feb 2 14-43-28 UTC 2022.golden.jpeg
Collapse file: resources/jpg-32bit-cmyk-icc-swop.TransformICCProfileWithFallback_CMYK_source_with_ICC-linux-jammy_amd64_libvips-8.12.1-Wed Feb 2 14-43-28 UTC 2022.golden.jpeg
Collapse file: resources/jpg-32bit-cmyk-no-icc.TransformICCProfileWithFallback_CMYK_source_without_ICC-linux-jammy_amd64_libvips-8.12.1-Wed Feb 2 14-43-28 UTC 2022.golden.jpeg
0 commit comments