Project

General

Profile

Actions

Bug #22743

closed

Background gradient images wrong colors in browsers with color profile capability

Added by Helmut Hummel over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2010-05-29
Due date:
% Done:

0%

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

Description

Because of color "correction" in browsers that support color profiles, the module background gradient image does not match the CSS color.

Solution: remove the profile from the image by using a gif (I did not manage to achieve this with a png, but that's probably my fault)

(issue imported from #M14516)


Files

wrong-gradient.png (31.8 KB) wrong-gradient.png Administrator Admin, 2010-05-29 10:53
14516.diff (828 Bytes) 14516.diff Administrator Admin, 2010-05-29 10:56
module-menu-top.gif (7.23 KB) module-menu-top.gif Administrator Admin, 2010-05-29 10:57
stripped-png-images.zip (1.41 MB) stripped-png-images.zip Administrator Admin, 2010-06-19 11:09

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #22726: New Backend DesignClosedBenni Mack2010-05-27

Actions
Actions #1

Updated by Andreas Lappe over 14 years ago

Using optipng or pngcrush should strip the profile (http://en.wikipedia.org/wiki/Pngcrush#Reducing_filesize_by_removing_color-correction_data) ... maybe worth a try before going to gif.

Actions #2

Updated by Helmut Hummel over 14 years ago

Attached a zip with pngs stripped by gamma and profile information:

files=`find . -name *.png`
for file in $files
do
mkdir -p "typo3-new/`dirname $file`"
pngcrush -rem gAMA -rem cHRM -rem iCCP -rem sRGB $file typo3-new/$file
done

Actions

Also available in: Atom PDF