Page 1 of 1
Convet Multiple Layer XCF Files
Posted: 2008-11-04T09:48:26-07:00
by travelster
I have a Gimp file with multiple layers. Everthing I read about IM tells me it shouldn't have a problem converting a Gimp XCF file to a jpg, flattening layers while at it. Any reason why the cmdline below shouldn't work?
convert "C:\Pics\Gimp\MultipleLayers.xcf" -layers flatten -quality 80 -resize 384x288 "C:\Documents and Settings\Glenn\TmpGimpFile.jpg"
I have a compiled from source version compiled with VS2008 on Windows XP.
Best Regards,
Glenn
Developer of
DBGallery: The Photo DATAbase system
Re: Convet Multiple Layer XCF Files
Posted: 2008-11-04T09:53:23-07:00
by magick
Post a URL to an image that does not convert properly. We will download it and verify.
Re: Convet Multiple Layer XCF Files
Posted: 2008-11-04T10:22:15-07:00
by travelster
Re: Convet Multiple Layer XCF Files
Posted: 2008-11-04T17:02:40-07:00
by anthony
the bottom two layers (blank background, and red lines) work perfectly fine. Though the red lines layer has no transparency so would completely hide the lower blank canvas layer.
The next two however are not being seen.
None of the layers use any special 'composition' settings, just straight overlays.
The last (topmost) layer does not suprize me as failing as it is a special 'text' layer not an image.
The second last however is a puzzle to me. It should probbaly work. The only thing that seems special about it is that it has a virtual canvas offset which is something Im should be able to handle without problems.
Re: Convet Multiple Layer XCF Files
Posted: 2008-11-05T01:50:46-07:00
by travelster
I'm not sure how IM can be said to support XCF files.That file includes a fairly basic image. I loaded Gimp 2.6 (the latest), added a text later then a couple graphic layers. Saved the file. I don't know Gimp and this took about 5 minutes to do. I'm thinking if it can't convert this file and flatten the layers what xcf file can it convert and flatten?
I'm adding IM to a program of mine just for xcf support. I'll give a beta version to a couple closer customers and see if they have problem with their files.
Cheers,
Glenn
Re: Convet Multiple Layer XCF Files
Posted: 2008-11-05T02:12:04-07:00
by travelster
Wikipedia's XCF page ways "ImageMagick has an XCF reader module that can read single-layer non-indexed images." This correct about only single layer images? Where could I check if there are plans to develop multiple layer support for XCF files?
Cheers,
Glenn