Actions
Bug #22743
closedBackground gradient images wrong colors in browsers with color profile capability
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
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.
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