Project

General

Profile

Actions

Bug #36947

closed

GIFBUILDER render twice

Added by Florian Zimmermann almost 12 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
TYPO3 Release Team
Category:
Image Cropping
Target version:
Start date:
2012-05-08
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.7
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hello,

my problem is that Image Layers on a GIFBUILDER IMAGE are rendering twice.
First on the Position 0,0 of the GIFBUILDER IMAGE and then at the offset Position. See attached
TEXT Layers are ok.

Here my Code.

$imageArray = array(
    'img' => 'IMAGE',
    'img.' => array(
        'file' => 'GIFBUILDER',
        'file.' => array(
            'format' => 'jpg',
            'quality' =>80,
            'XY' => '300,200',
            'backColor' => 'white',
            '1' => 'IMAGE',
            '1.' => array(
                'file' => 'fileadmin/img/right_teaser_bg.jpg',
                'offset' => '10,0'
            ),
            '2' => 'IMAGE',
            '2.' => array(
                'file' => 'fileadmin/img/main_image.jpg',
                'offset' => '35,0',
                'file.' => array('maxH' => 200)
            ),
            '3' => 'TEXT',
            '3.' => array(
                'text' => 'TEST TEXT',
                'fontSize' => '12',
                'fontFile' => 'fileadmin/fonts/arial.ttf',
                'fontColor' => 'white',
                'offset' => '150,40',
            ),
            '4' => 'IMAGE',
            '4.' => array(
                'file'=>'fileadmin/img/icon.png',
                'mask'=>'fileadmin/img/mask_icon.png',
                'offset' => '0,90',
                'file.' => array('maxW' => 300)
            )
        )
    )
); 

I use debian squeeze 6.0.4 with imagemagick 6.6.0.4 and PHP 5.3.10-1.
On TYPO3 4.5 everything runs fine.


Files

de942a5766.jpg (12 KB) de942a5766.jpg Error Florian Zimmermann, 2012-05-08 12:41
f5871266ed.jpg (116 KB) f5871266ed.jpg Florian Zimmermann, 2012-05-09 09:50

Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #37060: GIF with transparant background turns blackClosed2012-05-10

Actions
Related to TYPO3 Core - Bug #26660: imagecopyresized has invalid function parameterClosedBenjamin Schulte2011-05-06

Actions
Related to TYPO3 Core - Bug #39563: Regression in t3lib_iconWorks::imagecopyresizedClosed2012-08-06

Actions
Actions

Also available in: Atom PDF