Closed
Description
It seems that vips_thumbnail
has some issues with processing a (CIE)LAB TIFF to the sRGB colourspace.
Input image to sRGB png
vipsthumbnail cielab-dagams.tiff \
--size 200x \
-o %s_thumbnail_srgb.png \
--eprofile sRGB.icm
Warnings:
(vipsthumbnail:17830): VIPS-WARNING **: Incompatible type for "RichTIFFIPTC"; tag ignored (x8)
(vipsthumbnail:17503): VIPS-WARNING **: icc_transform: intent 1 (relative) not supported by input profile; falling back to default intent
Input image to sRGB png with the perceptual intent
vipsthumbnail cielab-dagams.tiff \
--size 200x \
-o %s_thumbnail_srgb_percep.png \
--intent perceptual \
--eprofile sRGB.icm
Warning (x8):
(vipsthumbnail:17830): VIPS-WARNING **: Incompatible type for "RichTIFFIPTC"; tag ignored
Input image to png (without the --eprofile
flag)
vipsthumbnail cielab-dagams.tiff \
--size 200x \
-o %s_thumbnail.png
Same warnings as the second command.
Tested with libvips 8.6.0-alpha2.