Batch/Script: Save XCF as JPG at 100% - help please!

  • Follow


[SuSE-9.2 Linux, Gimp-2.2]

Hi all,

I prepared a big amount of *.xcf files with
multiple layers. Now I would like to convert
all those files to a JPG at 100% quality.

Usually I save those XCF files by hand which
is a lot of work ....

Does anybody know how to get those XCF files
saved as 100% JPGs?

TIA, Frank
0
Reply Fr 7/7/2005 6:00:07 PM

*** Since you mentioned it, I wont take
*** FULL credit(!)... but really, the
*** easiest way to do all that together
*** is with ImageMagick's  c-o-n-v-e-r-t


Fr@nk Stef@ni wrote:
> [SuSE-9.2 Linux, Gimp-2.2]
>
> Hi all,
>
> I prepared a big amount of *.xcf files with
> multiple layers. Now I would like to convert
> all those files to a JPG at 100% quality.
>
> Usually I save those XCF files by hand which
> is a lot of work ....
>
> Does anybody know how to get those XCF files
> saved as 100% JPGs?
> 
> TIA, Frank

0
Reply stuseven 7/7/2005 10:23:34 PM


On 2005-07-07, stuseven@hotmail.com <stuseven@hotmail.com> wrote:
> *** Since you mentioned it, I wont take
> *** FULL credit(!)... but really, the
> *** easiest way to do all that together
> *** is with ImageMagick's  c-o-n-v-e-r-t

It seems that ImageMagick considers a multilayer
image to be an animation (considers the layers
as separate images) and when I try convert on
an xcf, I get jpgs for each layer. Montage
gives me one image with the separate layers
spread out separately.

Even converting to png, ImageMagick seems to
unerase sections, as well.

>> I prepared a big amount of *.xcf files with
>> multiple layers. Now I would like to convert
>> all those files to a JPG at 100% quality.
>>
>> Usually I save those XCF files by hand which
>> is a lot of work ....
>>
>> Does anybody know how to get those XCF files
>> saved as 100% JPGs?
0
Reply Spamless 7/8/2005 12:16:31 AM

stuseven@hotmail.com schrieb:
> *** Since you mentioned it, I wont take
> *** FULL credit(!)... but really, the
> *** easiest way to do all that together
> *** is with ImageMagick's  c-o-n-v-e-r-t

I really  wouldn't mind using imagick. If you
could tell me an example of how to get a JPG
out of a multi layer XCF file I'd be grateful!!

TIA, Frank
0
Reply Fr 7/8/2005 6:16:24 AM

Fr@nk Stef@ni wrote:

> I prepared a big amount of *.xcf files with
> multiple layers. Now I would like to convert
> all those files to a JPG at 100% quality.

David's Batch Processor (a Gimp plugin) should do it.

http://members.ozemail.com.au/~hodsond/dbp.html

-- 
David Hodson  --  this night wounds time
0
Reply David 7/8/2005 8:21:05 AM

*** How many multi-layer xcf-s do you have
*** there, anyway ?
***
*** I believe if you flatten the image, it
*** will convert without further problems...
*** -AND- I'm sure at least the newer
*** ImageMagick does include a flatten function.


Spamless wrote:
> On 2005-07-07, stuseven@hotmail.com <stuseven@hotmail.com> wrote:
> > *** Since you mentioned it, I wont take
> > *** FULL credit(!)... but really, the
> > *** easiest way to do all that together
> > *** is with ImageMagick's  c-o-n-v-e-r-t
>
> It seems that ImageMagick considers a multilayer
> image to be an animation (considers the layers
> as separate images) and when I try convert on
> an xcf, I get jpgs for each layer. Montage
> gives me one image with the separate layers
> spread out separately.
>
> Even converting to png, ImageMagick seems to
> unerase sections, as well.
>
> >> I prepared a big amount of *.xcf files with
> >> multiple layers. Now I would like to convert
> >> all those files to a JPG at 100% quality.
> >>
> >> Usually I save those XCF files by hand which
> >> is a lot of work ....
> >>
> >> Does anybody know how to get those XCF files
> >> saved as 100% JPGs?

0
Reply stuseven 7/8/2005 8:56:01 PM

On 2005-07-08, stuseven@hotmail.com <stuseven@hotmail.com> wrote:
> *** How many multi-layer xcf-s do you have
> *** there, anyway ?
> ***
> *** I believe if you flatten the image, it
> *** will convert without further problems...
> *** -AND- I'm sure at least the newer
> *** ImageMagick does include a flatten function.

AH ... did not see that.
 convert -flatten [image.xcf] a.png
did give a single file (instead of multiple files,
one for each layer).

However, transparent regions seem to have recovered
all the material I had removed (set to transparent)
and the layers seem not to be in the correct locations.

Some of my images (one can also use "-flatten"
in display) seem to come out OK except for apparently
not recognizing gimp's alpha channel.
0
Reply Spamless 7/9/2005 1:45:09 AM

Thank you all for the nice suggestions!
Both convert and the gimp batch processing
tool work fine, so I will use both in
different contexts.

Have a nice weekend, thanks again,
Frank
0
Reply Fr 7/9/2005 7:28:00 PM

7 Replies
382 Views

(page loaded in 0.091 seconds)

Similiar Articles:












7/26/2012 5:43:41 PM


Reply: