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
I know that it is advised to use thumbnail() rather than thumbnail_image(), but in my case I am dependent on editing an object and have no direct path name as input.
I've noticed a behavior that I can't explain. When I run the following code, I observe that the blue color in the output shifts. This only happens when I set the export-profile option. If I leave it off the colors are fine.
What surprises me is that the option should not actually change anything, as the original interpretation in the image is already srgb. And if I leave out the export-profile option, it should also be encoded also to srgb by default.
Nevertheless, it results in the color shift. What could be the reason for this?
EDIT: The script does not produce a color shift under macOS and libvips-8.16.0 but does under Debian 11 and libvips42 (8.10.5-2). Could this version difference be the reason?
Input Image
Result Image
The text was updated successfully, but these errors were encountered:
I know that it is advised to use
thumbnail()
rather thanthumbnail_image()
, but in my case I am dependent on editing an object and have no direct path name as input.I've noticed a behavior that I can't explain. When I run the following code, I observe that the blue color in the output shifts. This only happens when I set the
export-profile
option. If I leave it off the colors are fine.What surprises me is that the option should not actually change anything, as the original
interpretation
in the image is alreadysrgb
. And if I leave out theexport-profile
option, it should also be encoded also tosrgb
by default.Nevertheless, it results in the color shift. What could be the reason for this?
EDIT: The script does not produce a color shift under macOS and libvips-8.16.0 but does under Debian 11 and libvips42 (8.10.5-2). Could this version difference be the reason?
Input Image
Result Image
The text was updated successfully, but these errors were encountered: