<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>icomancer forum - Be careful with transparent PNGs/GIFs used to craft!</title>
<link>http://www.lavasoftworks.com/icomancer/forum/</link>
<description>Help and support forum for icomancer</description>
<language>en</language>
<item>
<title>Be careful with transparent PNGs/GIFs used to craft!</title>
<content:encoded><![CDATA[<p>We've been dealing a lot with PNG and GIF files with transparent background being used as portrait, either internal or cover. And as of the moment of releasing v1.1 we couldn't find a way to go over it.</p>
<p>By digging into ImageMagick's documentation and googling everywhere over the net, we've discovered that it is a natural problem, not precisely a flaw, but an issue in ImageMagick.</p>
<p>And the problem is a collision with the transparency, either indexed (GIF, PNG at 256 colors) or by Alpha Channel (PNG at 24 bits). JPG and BMP files are not affected because they are opaque (i.e. they don't store transparency).</p>
<p>So, using the next example:</p>
<p><img src="images/uploaded/201207091104204ffabab425014.png" alt="[image]" /></p>
<p>As you see here, the &quot;apple&quot; icon is set using the &quot;Normal&quot; style. This mode is lossless because the image is not composed over any other image. It is resized or distorted without touching the transparency.</p>
<p>But when we set the image to internal or cover portrait, the problem arises:</p>
<p><img src="images/uploaded/201207091105074ffabae3260f3.png" alt="[image]" /> <img src="images/uploaded/201207091105374ffabb0146142.png" alt="[image]" /></p>
<p>That's because, in order to compose the color of the folder, the folder body transparency is mapped, then, the transparency of the apple collides with it.</p>
<p>This also happens in translucent templates:</p>
<p><img src="images/uploaded/201207091107134ffabb619b71c.png" alt="[image]" /> <img src="images/uploaded/201207091107394ffabb7b82d62.png" alt="[image]" /></p>
<p>As you see here, the transparency of the folder is retained, while the transparency of the apple is discarded.</p>
<p>We're still trying to find a way to map the transparency of the images.<br />
Until then, please try not to use this file types for crafting as portraits.</p>
]]></content:encoded>
<link>http://www.lavasoftworks.com/icomancer/forum/index.php?id=14</link>
<guid>http://www.lavasoftworks.com/icomancer/forum/index.php?id=14</guid>
<pubDate>Mon, 09 Jul 2012 11:18:47 +0000</pubDate>
<category>Misc issues</category><dc:creator>acaballero</dc:creator>
</item>
</channel>
</rss>
