Project

General

Profile

Actions

Bug #78816

closed

Grayscale-filter results in too dark images - Wrong colorspace used

Added by Stefan Neufeind almost 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Image Generation / GIFBUILDER
Target version:
-
Start date:
2016-11-28
Due date:
% Done:

100%

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

Description

How to reproduce:
  • Make sure you have a TYPO3-/ImageMagick-installation that requires using sRGB-colorspace so images don't appear too dark.
  • Insert a color-image on a page.
  • In the image-properties use the grayscale-filter.

Result: Resulting grayscale-image is too dark.

Reason: The parameter "-colorspace GRAY" is used. But the final image needs to be save in "-colorspace sRGB" again then. Otherwise colors are too dark.

Issue was discovered in TYPO3 7.6 but surely applies to master as well.

Actions

Also available in: Atom PDF