Page 1 of 1

which function in Magick++ performs like "-layers optimize"?

Posted: 2010-01-11T00:16:10-07:00
by carol_sun
"Lets now use the "-layers", method 'OptimizeTransparency' (Added IM v6.3.4-4) to replace any pixel that does change the displayed result with transparency. "
see: http://www.imagemagick.org/Usage/anim_opt/#opt_trans
By using "Transparency Optimization", the gif file size would be reduced.

Except command-line tool, I want to know which function can fulfish this in Magick++. Who can tell me ?
http://www.imagemagick.org/Magick++/STL.html
I didn't find it.

Re: which function in Magick++ performs like "-layers optimize"?

Posted: 2010-01-12T18:11:09-07:00
by carol_sun
T_T I'm waiting for the answer, anyone who knows it please help me. I really appreciate it.

Re: which function in Magick++ performs like "-layers optimi

Posted: 2010-04-06T19:10:30-07:00
by anthony
Looking at the doc give I would have thought it was layerImage But that looks more like it performs a 'separate' function than the image layering functions.

Looks like the API is out of date.