Can't create xcf format image

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Can't create xcf format image

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Can't create xcf format image

Post 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+.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Can't create xcf format image

Post by fmw42 »

Thanks.

Sorry, I overlooked that when I first looked at identify -list format for the xcf format.
ntercity
Posts: 2
Joined: 2013-11-22T07:30:48-07:00
Authentication code: 6789

Re: Can't create xcf format image

Post by ntercity »

Hi,

Currently mine shows
XCF* XCF r-- GIMP image


How do I modify to
XCF rw+

Thank you
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Can't create xcf format image

Post by magick »

You need to write a WriteXCFImage() method inside coders/xcf.c then modify RegisterXCFImage() and add this line:
  • entry->encoder=(EncodeImageHandler *) WriteXCFImage;
ntercity
Posts: 2
Joined: 2013-11-22T07:30:48-07:00
Authentication code: 6789

Re: Can't create xcf format image

Post 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)
Post Reply