Page 1 of 1

Posted: 2006-03-20T23:58:28-07:00
by anthony
NO Imagemagcik will NOT go back to the old way.

First of all the -resize was changed so that it will now CORRECTLY handle
and anti-alias images containing transparency.
See IM Bug 'resize halo'
http://www.cit.gu.edu.au/~anthony/graph ... size_halo/

The other change is various attempt to get GIF to better handle semi-transparent pixels. Remember GIF format does NOT allow semi-transparency, it is transparent or it isn't.

In v5 it just trurn all semi-transparency opaque. Later it converted them all to fully-transparency. Neither proved satisfactory. The solution now if a 50% threshold. EG if it is mostly transparent make it transparent and visa verse for opacity. This has shown to work well in most cases.

If this is not suitable for you, threshold the transparency as you like yourself.
See GIF Transparency handling Examples..
http://www.cit.gu.edu.au/~anthony/graph ... ats/#trans

Hmm my mistake it seems in his effort to make each person happy. Crist has now made the -fuzz facter the threshold level to use for handling semi-transparency. This is probably only temporary. If semi-transparency is an issue. threshold it yourself, or handle those pixels in an appropriate way.