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

Susanne Moog info at susannemoog.de
Sun Aug 8 15:23:45 CEST 2010


On 08.08.2010 13:10, Jigal van Hemert wrote:
> On 16-7-2010 17:28, Felix Buenemann wrote:
>> 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.
> 
> The '!' flag for cropping was introduced with ImageMagick version
> 6.2.4-6 [1]. So for earlier versions of IM6 and IM5 this will not work.
> 
> Because TYPO3 4.5 will support IM4,5 and 6 I don't think this will be
> the right solution :-(

so we'd essentially need a "flag" to check if IM 6.2.4-6 or higher is
used? Nice... Or can you think of another way to test for the correct
crop scaling behavior? (have I mentioned that I'd prefer kicking all
those IM versions supported and go for GM only? ;))

Susanne


More information about the TYPO3-team-core mailing list