[TYPO3-core] RFC #8878: Bug: Fix cropscale behaviour for transparent GIF
Jigal van Hemert
jigal at xs4all.nl
Sun Aug 8 23:01:45 CEST 2010
Hi,
On 8-8-2010 15:46, Steffen Ritter wrote:
> Since we require gd2 we probably should have a look in what we can do
> without an external tool at all... in sprite-generator I found out that
> the gd variant was much faster than external tools.
I think that you'll find out that GD is very limited in its
possibilities and that it is not very easy to obtain good results with it.
I'm currently trying to make GD produce transparent PNGs with an alpha
channel, but this proves to be rather complicated.
Transparency is handled either as "combine both pixels with full
transparency, but the result is fully opaque" or as "overwrite the
original pixel, but keep full transparency".
You can apply a matrix to an image to get effects like blur, unsharp
mask, but these are limited to a 3x3 matrix (imageconvolution).
Also the quality of resampling is not as good as the various advanced
algorithms in IM/GM can produce.
--
Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh
More information about the TYPO3-team-core
mailing list