> Von: "Chris F.A. Johnson" <ch...@cfajohnson.com>

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

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

Reply via email to