Re: Preserving image class when combining images of same class

Anthony Thyssen <[email protected]> Sat, 16 Apr 2011 16:25:41 +1000
Newsgroups gmane.comp.video.image-magick.user
Message-ID <20110416162541.230aa4b5@wraith>
On Fri, 15 Apr 2011 15:33:41 -0700
[email protected] wrote:
| You can try various things:
| 
| add -type palette to your command line after the +append
| 
| or
| 
| preface the output image with PNG8:secoora.full.qkm_sst.png
| 
| or look at the write options for PNG at 
| http://www.imagemagick.org/Usage/formats/#png_write
| 
| 
| I suspect that IM will take the colortable from the first image in 
| the sequence if you do one of the above, but I am not an expert on 
| that, so don't count on it.
| 
| But do get back and inform us if this works or not.
| 
No it will create a new palette IF the current image is using colors
that are NOT in any existing palette.

At least that is how it works for GIF.

For PNG I am not certain as there are bee a lot of work in that area.
If you had asked on the forum, then the developer Glenn may have
something to say.



  Anthony Thyssen ( System Programmer )    <[email protected]>
 --------------------------------------------------------------------------
   I wouldn't take a bribe even if you paid me!   -- Anthony Thyssen
 --------------------------------------------------------------------------
   Anthony's Castle     http://www.ict.griffith.edu.au/anthony/