Page 1 of 1

Can't create xcf format image

Posted: 2007-11-08T00:44:58-07:00
by fmw42
I was trying to create a .xcf format image (GIMP format), but I am getting an error message (IM 6.3.6.4 on Mac OS 10.4.x)

convert logo2.gif logo2.xcf
convert: no encode delegate for this image format `logo2.xcf'.


Is this a bug or am I missing something?


Fred Weinhaus

Re: Can't create xcf format image

Posted: 2007-11-08T07:05:11-07:00
by magick
ImageMagick can read but cannot write the XCF image format. Type
  • identify -list format
Note the XCF mode is r--. If you could write XCF the mode would be rw+.

Re: Can't create xcf format image

Posted: 2007-11-08T18:06:41-07:00
by fmw42
Thanks.

Sorry, I overlooked that when I first looked at identify -list format for the xcf format.

Re: Can't create xcf format image

Posted: 2013-11-22T07:36:12-07:00
by ntercity
Hi,

Currently mine shows
XCF* XCF r-- GIMP image


How do I modify to
XCF rw+

Thank you

Re: Can't create xcf format image

Posted: 2013-11-22T07:44:55-07:00
by magick
You need to write a WriteXCFImage() method inside coders/xcf.c then modify RegisterXCFImage() and add this line:
  • entry->encoder=(EncodeImageHandler *) WriteXCFImage;

Re: Can't create xcf format image

Posted: 2013-11-22T08:40:39-07:00
by ntercity
magick wrote:You need to write a WriteXCFImage() method inside coders/xcf.c then modify RegisterXCFImage() and add this line:
  • entry->encoder=(EncodeImageHandler *) WriteXCFImage;
Thank you,
guess i have to do compiling work. (not sure can i done it by myself, but i'll study on it first)