Eliminate 'Invalid ICC Profile Data' warnings during PDF generation

PNG screenshots were showing up with odd coloration due to incorrect
or malformed color management settings (ICC profiles).  In an earlier
commit, thes PNG files were transformed to JPEGs, and this did cause
the coloration problems to go away, but a new problem took its place;
during docbook PDF generation, warnings like the following started
showing up:

    An ICC profile is present but it is invalid (Invalid ICC Profile
    Data). The color profile will be ignored. (.../quotes-aggregator.jpg)

The solution was to download Seashore (http://seashore.sourceforge.net,
Mac-only) which has an embedded ICC profile editor.  Each of the three
offending JPEG images were loaded and re-saved to JPEG format, but
targeting 'web' output which eliminates all ICC profile metadata.
This commit is contained in:
Chris Beams
2010-11-22 15:38:25 -07:00
parent 13e2af25d4
commit 5ef3a74c59
3 changed files with 0 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.7 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB