[TYPO3-core] RFC #8878: Bug: Fix cropscale behaviour for transparent GIF
Felix Buenemann
Felix.Buenemann at googlemail.com
Fri Jul 16 17:28:01 CEST 2010
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.
Best Regards,
Felix Buenemann
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_8878_fix_testcase.png
Type: image/png
Size: 2477 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100716/bb53e027/attachment.png>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug_8878_fix_v1b_svn8197.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100716/bb53e027/attachment.asc>
More information about the TYPO3-team-core
mailing list