<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>D-talk (Entries tagged as im)</title>
    <link>http://blog.dynom.nl/</link>
    <description>The little things that pop into mind</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.2-beta4 - http://www.s9y.org/</generator>
    
    

<item>
    <title>Imagick driver for Kohana</title>
    <link>http://blog.dynom.nl/archives/Imagick-driver-for-Kohana_20080201_16.html</link>
            <category>KohanaPHP</category>
    
    <comments>http://blog.dynom.nl/archives/Imagick-driver-for-Kohana_20080201_16.html#comments</comments>
    <wfw:comment>http://blog.dynom.nl/wfwcomment.php?cid=16</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.dynom.nl/rss.php?version=2.0&amp;type=comments&amp;cid=16</wfw:commentRss>
    

    <author>nospam@example.com (Mark van der Velden)</author>
    <content:encoded>
    &lt;p&gt;For image manipulation &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/www.imagemagick.org/&#039;);&quot;  href=&quot;http://www.imagemagick.org/&quot; title=&quot;ImageMagick&quot;&gt;ImageMagick&lt;/a&gt; (IM) is really nice. However IM is not natively supported by PHP. &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/www.kohanaphp.com&#039;);&quot;  href=&quot;http://www.kohanaphp.com&quot; title=&quot;Kohana: swift, secure and light MVC PHP5 framework&quot;&gt;Kohana&lt;/a&gt; supports IM using a shell wrapper simply because that is the only way to support IM without PECL dependancies.&lt;/p&gt;&lt;p&gt;While this means we can&#039;t use &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/pecl.php.net/package/imagick&#039;);&quot;  href=&quot;http://pecl.php.net/package/imagick&quot; title=&quot;Imagick&quot;&gt;Imagick&lt;/a&gt; (the &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/pecl.php.net/&#039;);&quot;  href=&quot;http://pecl.php.net/&quot; title=&quot;The PHP Extension Community Library&quot;&gt;PECL&lt;/a&gt; extension) using the official Kohana release, this doesn&#039;t mean we can&#039;t write our own Kohana Image driver.&lt;br /&gt;Since I have total freedom on my servers I wanted to use Imagick instead of the shell wrapper and wrote a Imagick driver.&lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://blog.dynom.nl/archives/Imagick-driver-for-Kohana_20080201_16.html#extended&quot;&gt;Continue reading &quot;Imagick driver for Kohana&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Fri, 01 Feb 2008 10:01:27 +0000</pubDate>
    <guid isPermaLink="false">http://blog.dynom.nl/archives/guid_20080201_16.html</guid>
    <category>im</category>
<category>imagemagick</category>
<category>kohana</category>
<category>php</category>
<category>php5</category>

</item>
<item>
    <title>imageMagick CMYK to RGB</title>
    <link>http://blog.dynom.nl/archives/imageMagick-CMYK-to-RGB_20070808_3.html</link>
            <category>Misc</category>
    
    <comments>http://blog.dynom.nl/archives/imageMagick-CMYK-to-RGB_20070808_3.html#comments</comments>
    <wfw:comment>http://blog.dynom.nl/wfwcomment.php?cid=3</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://blog.dynom.nl/rss.php?version=2.0&amp;type=comments&amp;cid=3</wfw:commentRss>
    

    <author>nospam@example.com (Mark van der Velden)</author>
    <content:encoded>
    &lt;p&gt;Today I&#039;ve encountered the jpeg format and the conversion between CMYK and RGB.&lt;/p&gt;&lt;p&gt;I&#039;m working with ImageMagick and the struggle to view &#039;corrupted images&#039; at least that is what Firefox and Internet Explorer try to tell us.
But in fact they just can&#039;t read &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/wikipedia.org/wiki/CMYK&#039;);&quot;  href=&quot;http://wikipedia.org/wiki/CMYK&quot; mce_href=&quot;http://wikipedia.org/wiki/CMYK&quot; title=&quot;visit the CMYK wiki page&quot;&gt;CMYK&lt;/a&gt;. And I don&#039;t blame them, they have no business reading it anyway, they should stick to &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/wikipedia.org/wiki/RGB&#039;);&quot;  href=&quot;http://wikipedia.org/wiki/RGB&quot; mce_href=&quot;http://wikipedia.org/wiki/RGB&quot; title=&quot;visit the RGB wiki page&quot;&gt;RGB&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;The command turned out to be quite simple:&lt;/p&gt;&lt;pre&gt;convert myCMYKimage.jpg \&lt;br /&gt;    &lt;b&gt;-colorspace rgb \&lt;/b&gt;&lt;br /&gt;    ...&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;The colors however aren&#039;t all that great, in fact if you plan on using it seriously they plain s*ck, but all in all I blame that on the user who uploads it, not the &#039;failing&#039; of the browsers or IM in this part.&lt;/p&gt;&lt;p&gt;
IM supports much more advanced way in converting to RGB, using color profiles, etc. But this script is used in a public upload system and I&#039;m not planning to fix something the user should have taken care of!&lt;/p&gt;&lt;p&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;
Thanks to ##imagemagick on &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/freenode.net/&#039;);&quot;  href=&quot;http://freenode.net/&quot; mce_href=&quot;http://freenode.net/&quot; title=&quot;freenode IRC information&quot;&gt;freenode IRC&lt;/a&gt; who helped me with this.&lt;/p&gt; 
    </content:encoded>

    <pubDate>Wed, 08 Aug 2007 14:17:23 +0000</pubDate>
    <guid isPermaLink="false">http://blog.dynom.nl/archives/guid_20070808_3.html</guid>
    <category>cmyk</category>
<category>im</category>
<category>imagemagick</category>
<category>misc</category>
<category>rgb</category>

</item>

</channel>
</rss>