From c8afbb92e227ef3d59f75221d69203c0442eb008 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Fri, 26 Jan 2018 15:34:52 +0000 Subject: [PATCH] update doc --- doc/Using-vipsthumbnail.xml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/doc/Using-vipsthumbnail.xml b/doc/Using-vipsthumbnail.xml index 4d51cf56..4cbdb049 100644 --- a/doc/Using-vipsthumbnail.xml +++ b/doc/Using-vipsthumbnail.xml @@ -270,7 +270,27 @@ $ ls -l tn_shark.jpg It’ll look identical to a user, but be almost half the size. - You can also specify a fallback input profile to use if the image has no embedded one, but this is less useful. + You can also specify a fallback input profile to use if the image has no embedded one. This can often happen with CMYK images, producing an error message like: + + +$ vipsthumbnail kgdev.jpg +vipsthumbnail: unable to thumbnail kgdev.jpg +vips_colourspace: no known route from 'cmyk' to 'srgb' + + + If you supply a CMYK profile, it will be able to convert the image, for example: + + +$ vipsthumbnail kgdev.jpg --iprofile /usr/share/color/icc/colord/FOGRA28L_webcoated.icc + + + I’ve had good results with this profile: + + + https://github.com/jcupitt/nip2/blob/master/share/nip2/data/cmyk.icm + + + It makes nice-looking images from most CMYK files, and is completely free.