Issue Bug Closed

#79458Cropping Gifs creats black border

Markus Gehrig 01/25/17, 09:17 updated 09/01/23, 09:48

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:

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.