Bug #22743
Background gradient images wrong colors in browsers with color profile capability
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)
Related issues
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