Project

General

Profile

Actions

Bug #79458

closed

Cropping Gifs creats black border

Added by Markus Gehrig almost 8 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Image Cropping
Target version:
-
Start date:
2017-01-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

When I cropping gifs in fluid, the processed image has the same size then the original image and cropped away part of the image is black/transparent.

Fluid-Code:

<div class="col-sm-12 nopadding">
    <f:image image="{image.file}" class="img-responsive" height="{imageCrop}c" width="{imageCrop}c" /> 
</div>

GFX in LocalConfiguration.php

'GFX' => [
        'colorspace' => 'RGB',
        'im' => 1,
        'im_mask_temp_ext_gif' => 1,
        'im_path' => '/usr/bin/',
        'im_path_lzw' => '/usr/bin/',
        'im_v5effects' => -1,
        'im_version_5' => 'gm',
        'image_processing' => 1,
        'jpg_quality' => '80',
    ],

Gif:

JPG:


Files

Bildschirmfoto 2017-01-25 um 09.11.08.png (57 KB) Bildschirmfoto 2017-01-25 um 09.11.08.png Markus Gehrig, 2017-01-25 09:16
Bildschirmfoto 2017-01-25 um 09.11.50.png (200 KB) Bildschirmfoto 2017-01-25 um 09.11.50.png Markus Gehrig, 2017-01-25 09:16
MARBLES.GIF (752 KB) MARBLES.GIF Riccardo De Contardi, 2017-04-23 23:55
false-gif-cropping.png (111 KB) false-gif-cropping.png Lidia Demin, 2018-03-01 15:07
Actions

Also available in: Atom PDF