<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<div><span class="Apple-style-span" style="font-size: 10pt; "><br></span></div><div><span class="Apple-style-span" style="font-size: 10pt; ">Hi Kendy.</span></div><div><span class="Apple-style-span" style="font-size: 10pt; "><br></span></div><div><span class="Apple-style-span" style="font-size: 10pt; ">Thanks again for checking into this. I've done more testing and I think the problem is with your image decoder (ImageMagick). The problem icons are encoded as RGB + Simple 1 'colour' transparency. It may be a bit unusual, but is supported by the PNG spec and works with LibO's png decoder fine. It seems one of the 'Fathers' of the png format-&nbsp;</span><span class="Apple-style-span" style="line-height: 18px; "><span class="Apple-style-span" style="font-size: 10pt; ">Glenn Randers-Pehrson - contributes to&nbsp;</span></span>ImageMagick. If it hasn't been patched already, I'm sure they'd value a bug report.</div><div><br></div><div>I have checked the&nbsp;optimized&nbsp;icons several ways and as much as possible, but ultimately it is only through use we can catch any small oddities. I suggest we push the new icons upstream and await user feedback.</div><div><br></div><div>Many thanks,</div><div>Andrew</div><div><br></div><div><br></div><br>&gt; Subject: RE: [Libreoffice] Image Compression Patch<br>&gt; From: kendy@suse.cz<br>&gt; To: ace_dent@hotmail.com<br>&gt; CC: pat@pathawks.com; libreoffice@lists.freedesktop.org<br>&gt; Date: Sun, 24 Oct 2010 22:07:32 +0200<br>&gt; <br>&gt; Hi Andrew,<br>&gt; <br>&gt; On 2010-10-22 at 11:47 +0100, Andrew C. E. Dent wrote:<br>&gt; <br>&gt; &gt; I've finished the process of lossless optimization for the<br>&gt; &gt; default_images pack.<br>&gt; &gt; The archive is available here:<br>&gt; &gt; http://people.bath.ac.uk/ea2aced/OOo/default_images.zip<br>&gt; <br>&gt; $ du -hs --apparent-size default_images.save/<br>&gt; 6,3M        default_images.save/<br>&gt; $ du -hs --apparent-size default_images<br>&gt; 4,8M        default_images<br>&gt; <br>&gt; Nice! :-)  Thank you a lot!<br>&gt; <br>&gt; To check that everything is still the same, I created a script that<br>&gt; checks 2 directories (original icons, and the optimized ones), converts<br>&gt; the png's to xpm's and checks them for differences:<br>&gt; <br>&gt; http://cgit.freedesktop.org/libreoffice/build/tree/bin/check-artwork.sh<br>&gt; <br>&gt; Unfortunately, some of the icons differed - please see the attached<br>&gt; list; I did not commit/push those, only the ones that were the same.<br>&gt; <br>&gt; Can you please check what was wrong?  I eg. see that<br>&gt; svx/res/lightfromleft_22.png has originally a transparent background,<br>&gt; but the optimized version has gray background.<br>&gt; <br>&gt; &gt; I'd be most grateful if you could get this checked in to the<br>&gt; &gt; repository.<br>&gt; <br>&gt; Done :-) - with the exception of the attached list.<br>&gt; <br>&gt; Thank you a lot,<br>&gt; Kendy<br>&gt; <br>                                               </body>
</html>