[TYPO3-core] RFC #8878: Bug: Fix cropscale behaviour for transparent GIF

Susanne Moog info at susannemoog.de
Sun Aug 8 11:10:04 CEST 2010


Hi Felix,

On 16.07.2010 17:28, Felix Buenemann wrote:
> This is an SVN patch request.
> 
> Type: Bugfix
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=8878
> 
> Related:
> http://bugs.typo3.org/view.php?id=8763
> 
> Caused by:
> http://bugs.typo3.org/view.php?id=8025
> 
> Branches:
> TYPO3_4-2, TYPO3_4-3, TYPO3_4-4, trunk
> 
> Problem:
> When using cropscale on an image with transparent background, the
> parameters for cropping differ between im4 and im6, due to how they
> handle the transparent canvas. This leads to incorrect cropping when
> using im5 or im6.
> 
> Solution:
> Adapt behaviour according to im_version_4 flag and revert to pre #8025
> behaviour when im5/6 are used.
> 
> Notes:
> A short testcase ts code and sample image can be found in the bug
> report. Picture that illustrates problem attached.

thanks for the patch. +1 by reading and testing with the example you
provided and GM + IM6.

CGL formatting can be done on commit, but for the next time: Please put
spaces around concatenation dots in the line you changed ;)

Susanne


More information about the TYPO3-team-core mailing list