Converting .xcf file into .tif file
-
- Posts: 1
- Joined: 2018-01-11T08:37:22-07:00
- Authentication code: 1152
Converting .xcf file into .tif file
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.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Converting .xcf file into .tif file
Yes, Imagemagick can convert rgb xcf to cmyk tif. You can do it with -colorspace or with profiles. Profiles are better.
Without profiles:
If the xcf image does not have an RGB profile then
If it does have an RGB profile, then
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.
Without profiles:
Code: Select all
convert lena.xcf -alpha off -colorspace CMYK lena_xcf1.tif
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
Code: Select all
convert lena.xcf -alpha off -profile /Users/fred/images/profiles/USWebCoatedSWOP.icc lena_xcf3.tif