Re: [Gimp-user] Export xcf to png from command line? - solved

2014-08-25 Thread Dexter Filmore
Am Sunday 24 August 2014 19:24:45 schrieb Chris F.A. Johnson:
> On Sun, 24 Aug 2014, Dexter Filmore wrote:
> > Am Sunday 24 August 2014 00:47:08 schrieb Chris F.A. Johnson:
> >> On Sat, 23 Aug 2014, Dexter Filmore wrote:
> >>> How can make a png export of an xcf from linux command line?
> >>
> >> Use convert from ImageMagick (of GraphicsMagick):
> >>
> >> convert pic.xcf pic.png
> >
> > Not good. Produces 10 png files, for each layer one and they even crash
> > gwenview.
> > I need the image as it would appear in gimp, layers enabled, opacity
> > levels set etc.
>
> convert pic.xcf -flatten pic.png

xcf2png from xcftools is quite ok, but thanks.

-- 
-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS d--(+)@ s-:+ a C UL++ P+>++ L+++> E-- W++ N o? K-
w--(---) !O M+ V- PS+ PE Y++ PGP t++(---)@ 5 X+(++) R+(++) tv--(+)@ 
b++(+++) DI+++ D- G++ e* h>++ r* y?
--END GEEK CODE BLOCK--


signature.asc
Description: This is a digitally signed message part.
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list

Re: [Gimp-user] Export xcf to png from command line?

2014-08-25 Thread Michael Schumacher
> Von: "Chris F.A. Johnson" 

> On Sun, 24 Aug 2014, Kevin Cozens wrote:
> > On 14-08-24 01:24 PM, Chris F.A. Johnson wrote:

> >> convert pic.xcf -flatten pic.png
> >
> > That would not do what is required. It would just created an output file 
> > with 
> > a single layer instead of a single file with the same layers as in the 
> > original xcf file.
> 
> Can PNGs have layers?

Short answer: No.

Long answer: the PNG specification allows for private format extensions, so 
applications can add all sorts of features and store them in a PNG file.
No other application is required to support those, however.

For example, Adobe/Macromedia Fireworks does this and adds vectors and layers 
to the PNG files (its native(iirc) file format). 
This tricks some users without comprehensive file format knowledge into 
regarding those as PNG standard features.


-- 
Regards,
Michael
GPG: 96A8 B38A 728A 577D 724D 60E5 F855 53EC B36D 4CDD
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


Re: [Gimp-user] Export xcf to png from command line?

2014-08-25 Thread Chris F.A. Johnson

On Sun, 24 Aug 2014, Kevin Cozens wrote:

On 14-08-24 01:24 PM, Chris F.A. Johnson wrote:

On Sun, 24 Aug 2014, Dexter Filmore wrote:

Not good. Produces 10 png files, for each layer one and they even crash
gwenview.
I need the image as it would appear in gimp, layers enabled, opacity 
levels

set etc.


convert pic.xcf -flatten pic.png


That would not do what is required. It would just created an output file with 
a single layer instead of a single file with the same layers as in the 
original xcf file.


   Can PNGs have layers?

--
Chris F.A. Johnson, 
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


Re: [Gimp-user] Export xcf to png from command line?

2014-08-24 Thread Kevin Cozens

On 14-08-24 01:24 PM, Chris F.A. Johnson wrote:

On Sun, 24 Aug 2014, Dexter Filmore wrote:

Not good. Produces 10 png files, for each layer one and they even crash
gwenview.
I need the image as it would appear in gimp, layers enabled, opacity levels
set etc.


convert pic.xcf -flatten pic.png


That would not do what is required. It would just created an output file 
with a single layer instead of a single file with the same layers as in the 
original xcf file.


--
Cheers!

Kevin.

http://www.ve3syb.ca/   |"Nerds make the shiny things that distract
Owner of Elecraft K2 #2172  | the mouth-breathers, and that's why we're
| powerful!"
#include  | --Chris Hardwick
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


Re: [Gimp-user] Export xcf to png from command line?

2014-08-24 Thread Chris F.A. Johnson

On Sun, 24 Aug 2014, Dexter Filmore wrote:


Am Sunday 24 August 2014 00:47:08 schrieb Chris F.A. Johnson:

On Sat, 23 Aug 2014, Dexter Filmore wrote:

How can make a png export of an xcf from linux command line?


Use convert from ImageMagick (of GraphicsMagick):

convert pic.xcf pic.png


Not good. Produces 10 png files, for each layer one and they even crash
gwenview.
I need the image as it would appear in gimp, layers enabled, opacity levels
set etc.


convert pic.xcf -flatten pic.png


--
Chris F.A. Johnson, 
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


Re: [Gimp-user] Export xcf to png from command line?

2014-08-24 Thread Dexter Filmore
Am Sunday 24 August 2014 00:47:08 schrieb Chris F.A. Johnson:
> On Sat, 23 Aug 2014, Dexter Filmore wrote:
> > How can make a png export of an xcf from linux command line?
>
> Use convert from ImageMagick (of GraphicsMagick):
>
> convert pic.xcf pic.png

Not good. Produces 10 png files, for each layer one and they even crash 
gwenview.
I need the image as it would appear in gimp, layers enabled, opacity levels 
set etc.


-- 
-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS d--(+)@ s-:+ a C UL++ P+>++ L+++> E-- W++ N o? K-
w--(---) !O M+ V- PS+ PE Y++ PGP t++(---)@ 5 X+(++) R+(++) tv--(+)@ 
b++(+++) DI+++ D- G++ e* h>++ r* y?
--END GEEK CODE BLOCK--


signature.asc
Description: This is a digitally signed message part.
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list

Re: [Gimp-user] Export xcf to png from command line?

2014-08-23 Thread Chris F.A. Johnson

On Sat, 23 Aug 2014, Dexter Filmore wrote:


How can make a png export of an xcf from linux command line?


   Use convert from ImageMagick (of GraphicsMagick):

convert pic.xcf pic.png

--
Chris F.A. Johnson, 
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


[Gimp-user] Export xcf to png from command line?

2014-08-23 Thread Dexter Filmore
How can make a png export of an xcf from linux command line?


-- 
-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS d--(+)@ s-:+ a C UL++ P+>++ L+++> E-- W++ N o? K-
w--(---) !O M+ V- PS+ PE Y++ PGP t++(---)@ 5 X+(++) R+(++) tv--(+)@ 
b++(+++) DI+++ D- G++ e* h>++ r* y?
--END GEEK CODE BLOCK--


signature.asc
Description: This is a digitally signed message part.
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list