Bug #22743

Background gradient images wrong colors in browsers with color profile capability

Added by Helmut Hummel about 5 years ago. Updated about 5 years ago.

Status:Closed Start date:2010-05-29
Priority:Should have Due date:
Assigned To:Susanne Moog % Done:

0%

Category:- Spent time: -
Target version:-
TYPO3 Version: Is Regression:
PHP Version:4.3 Sprint Focus:
Complexity:

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)

wrong-gradient.png (31.8 kB) Administrator Admin, 2010-05-29 10:53

14516.diff Magnifier (828 Bytes) Administrator Admin, 2010-05-29 10:56

module-menu-top.gif (7.2 kB) Administrator Admin, 2010-05-29 10:57

stripped-png-images.zip (1.4 MB) Administrator Admin, 2010-06-19 11:09


Related issues

related to Core - Bug #22726: New Backend Design Closed 2010-05-27

History

#1 Updated by Andreas Lappe about 5 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.

#2 Updated by Helmut Hummel about 5 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

Also available in: Atom PDF