Page 1 of 1
Converting .xcf file into .tif file
Posted: 2018-01-11T08:41:14-07:00
by Soccer2750
Hi, I am very new to ImageMagick and trying to find a program to convert my .xcf files from GIMP into .tif files . I am also trying to convert the colors for RGB into CMYK. Can ImageMagick do this and how would it work? Thanks.
Re: Converting .xcf file into .tif file
Posted: 2018-01-11T10:50:31-07:00
by fmw42
Yes, Imagemagick can convert rgb xcf to cmyk tif. You can do it with -colorspace or with profiles. Profiles are better.
Without profiles:
Code: Select all
convert lena.xcf -alpha off -colorspace CMYK lena_xcf1.tif
If the xcf image does not have an RGB profile then
Code: Select all
convert lena.xcf -alpha off -profile /Users/fred/images/profiles/sRGB.icc -profile /Users/fred/images/profiles/USWebCoatedSWOP.icc lena_xcf2.tif
If it does have an RGB profile, then
Code: Select all
convert lena.xcf -alpha off -profile /Users/fred/images/profiles/USWebCoatedSWOP.icc lena_xcf3.tif
I have added -alpha off, since when I created the xcf file, GIMP automatically added a fully opaque alpha channel, then does nothing but increase the file size.