RSS/Atom feed Twitter
Site is read-only, email is disabled

Export xcf to png from command line?

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

8 of 8 messages available
Toggle history

Please log in to manage your subscriptions.

Export xcf to png from command line? Dexter Filmore 23 Aug 20:14
  Export xcf to png from command line? Chris F.A. Johnson 23 Aug 22:47
   Export xcf to png from command line? Dexter Filmore 24 Aug 14:01
    Export xcf to png from command line? Chris F.A. Johnson 24 Aug 17:24
     Export xcf to png from command line? Kevin Cozens 25 Aug 00:21
      Export xcf to png from command line? Chris F.A. Johnson 25 Aug 09:22
       Export xcf to png from command line? Michael Schumacher 25 Aug 13:01
     Export xcf to png from command line? - solved Dexter Filmore 25 Aug 15:55
Dexter Filmore
2014-08-23 20:14:56 UTC (over 9 years ago)

Export xcf to png from command line?

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------
Chris F.A. Johnson
2014-08-23 22:47:08 UTC (over 9 years ago)

Export xcf to png from command line?

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, 
Dexter Filmore
2014-08-24 14:01:46 UTC (over 9 years ago)

Export xcf to png from command line?

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------
Chris F.A. Johnson
2014-08-24 17:24:45 UTC (over 9 years ago)

Export xcf to png from command line?

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, 
Kevin Cozens
2014-08-25 00:21:53 UTC (over 9 years ago)

Export xcf to png from command line?

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
Chris F.A. Johnson
2014-08-25 09:22:49 UTC (over 9 years ago)

Export xcf to png from command line?

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, 
Michael Schumacher
2014-08-25 13:01:50 UTC (over 9 years ago)

Export xcf to png from command line?

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
Dexter Filmore
2014-08-25 15:55:47 UTC (over 9 years ago)

Export xcf to png from command line? - solved

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------