<?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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Le blog de Citron</title>
	<atom:link href="http://blog.pcitron.fr/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.pcitron.fr</link>
	<description>Petit blog perso. Des videos que j&#039;aime, des notes de programmation, des posts où je reconte mes vacances, bref, mon bordel.</description>
	<lastBuildDate>Fri, 30 Dec 2011 20:44:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Simple image viewer on Mac OS X by Citron</title>
		<link>http://blog.pcitron.fr/2010/12/07/simple-image-viewer-on-mac-os-x/#comment-604</link>
		<dc:creator>Citron</dc:creator>
		<pubDate>Fri, 30 Dec 2011 20:44:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pcitron.fr/?p=1203#comment-604</guid>
		<description>Hy,
Unfortunately (as it&#039;s written in the About section of the viewer&#039;s page : http://blog.pcitron.fr/tools/macosx-imageviewer/) this tool only works with OSX 10.7 and higher. And I currently don&#039;t have the time (nor the will) to make it work on 10.6 or less. One of the comenters (on the page I linked) did it though, but he didn&#039;t leave his email, so I can&#039;t even ask if he willing to share the result, sorry :s</description>
		<content:encoded><![CDATA[<p>Hy,<br />
Unfortunately (as it&#8217;s written in the About section of the viewer&#8217;s page : <a href="http://blog.pcitron.fr/tools/macosx-imageviewer/" rel="nofollow">http://blog.pcitron.fr/tools/macosx-imageviewer/</a>) this tool only works with OSX 10.7 and higher. And I currently don&#8217;t have the time (nor the will) to make it work on 10.6 or less. One of the comenters (on the page I linked) did it though, but he didn&#8217;t leave his email, so I can&#8217;t even ask if he willing to share the result, sorry :s</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple image viewer on Mac OS X by Angel</title>
		<link>http://blog.pcitron.fr/2010/12/07/simple-image-viewer-on-mac-os-x/#comment-602</link>
		<dc:creator>Angel</dc:creator>
		<pubDate>Fri, 30 Dec 2011 16:53:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pcitron.fr/?p=1203#comment-602</guid>
		<description>Hi, im really interest in this software but i cant install in my imac version 10.6.8
Can you help me, please?

Thanks!!  :)</description>
		<content:encoded><![CDATA[<p>Hi, im really interest in this software but i cant install in my imac version 10.6.8<br />
Can you help me, please?</p>
<p>Thanks!!  :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MacOSX &#8211; ImageViewer by Citron</title>
		<link>http://blog.pcitron.fr/tools/macosx-imageviewer/#comment-561</link>
		<dc:creator>Citron</dc:creator>
		<pubDate>Sun, 20 Nov 2011 14:53:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pcitron.fr/?page_id=1382#comment-561</guid>
		<description>Salut,

Pas pour la version précompilée. Par contre, tu peux utiliser les sources et les modifier pour rendre le soft compatible avec 10.6 et inférieur. Mais le problème, c&#039;est que toute la partie copier/coller, suppression, synchronisation du contenu ne marchera plus. C&#039;est pour cette raison que j&#039;ai pris la décision de limiter à 10.7.</description>
		<content:encoded><![CDATA[<p>Salut,</p>
<p>Pas pour la version précompilée. Par contre, tu peux utiliser les sources et les modifier pour rendre le soft compatible avec 10.6 et inférieur. Mais le problème, c&#8217;est que toute la partie copier/coller, suppression, synchronisation du contenu ne marchera plus. C&#8217;est pour cette raison que j&#8217;ai pris la décision de limiter à 10.7.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MacOSX &#8211; ImageViewer by marcou</title>
		<link>http://blog.pcitron.fr/tools/macosx-imageviewer/#comment-560</link>
		<dc:creator>marcou</dc:creator>
		<pubDate>Sun, 20 Nov 2011 09:45:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pcitron.fr/?page_id=1382#comment-560</guid>
		<description>Bonjour Damien,
Pas de possibilité d&#039;usage sur Tiger ? Leopard ? merci
Cordialement.</description>
		<content:encoded><![CDATA[<p>Bonjour Damien,<br />
Pas de possibilité d&#8217;usage sur Tiger ? Leopard ? merci<br />
Cordialement.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Play an animated GIF with an IKImageView by James</title>
		<link>http://blog.pcitron.fr/2010/12/14/play-an-animated-gif-with-an-ikimageview/#comment-499</link>
		<dc:creator>James</dc:creator>
		<pubDate>Wed, 05 Oct 2011 16:21:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pcitron.fr/?p=1216#comment-499</guid>
		<description>Thanks again Damien,

I found this which works to pause and start a CAKeyFrameAnimation:

http://developer.apple.com/library/ios/#qa/qa1673/_index.html

I&#039;m going to try to implement this method now in my program.</description>
		<content:encoded><![CDATA[<p>Thanks again Damien,</p>
<p>I found this which works to pause and start a CAKeyFrameAnimation:</p>
<p><a href="http://developer.apple.com/library/ios/#qa/qa1673/_index.html" rel="nofollow">http://developer.apple.com/library/ios/#qa/qa1673/_index.html</a></p>
<p>I&#8217;m going to try to implement this method now in my program.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Play an animated GIF with an IKImageView by Citron</title>
		<link>http://blog.pcitron.fr/2010/12/14/play-an-animated-gif-with-an-ikimageview/#comment-498</link>
		<dc:creator>Citron</dc:creator>
		<pubDate>Wed, 05 Oct 2011 14:22:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pcitron.fr/?p=1216#comment-498</guid>
		<description>Hi,
Glad you liked it ^^ Now, how to manually control the animation ... that I don&#039;t really know. But after a quick look at the documentation, I noticed that CALayer conforms to the CAMediaTiming protocol. And this protocol provides methods that -I think- could allow you to achieve what you want :

setSpeed to 0 to pause the animation
setTimeOffset to control the frame, relative to the current one ?

Well, the documentation is not always very clear, so you&#039;ll probably have to play with all the properties of CAMediaTiming, but I think it might quite easily let you do what you want ^^

Regards,
Damien.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Glad you liked it ^^ Now, how to manually control the animation &#8230; that I don&#8217;t really know. But after a quick look at the documentation, I noticed that CALayer conforms to the CAMediaTiming protocol. And this protocol provides methods that -I think- could allow you to achieve what you want :</p>
<p>setSpeed to 0 to pause the animation<br />
setTimeOffset to control the frame, relative to the current one ?</p>
<p>Well, the documentation is not always very clear, so you&#8217;ll probably have to play with all the properties of CAMediaTiming, but I think it might quite easily let you do what you want ^^</p>
<p>Regards,<br />
Damien.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Play an animated GIF with an IKImageView by James</title>
		<link>http://blog.pcitron.fr/2010/12/14/play-an-animated-gif-with-an-ikimageview/#comment-497</link>
		<dc:creator>James</dc:creator>
		<pubDate>Wed, 05 Oct 2011 12:17:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pcitron.fr/?p=1216#comment-497</guid>
		<description>Bonjour Citron,

I&#039;m having trouble with IKImageView still. I want to create a means to be able to display multi-frame TIFFs in an IKImageView as it has all the convenience methods including zooming, rotating, cropping etc. As we all know, it&#039;s a pain to resend an image to IKImageView as it redraws and doesn&#039;t maintain the zoom / rotation settings from the previous image.

I have adapted your code for the animations to make it work for TIFFs easily. Your code is great. However what I really want is a means to be able to control the frame with a slider to be able to manually change the frame at will in an IKImageView. 

Do you have any ideas how? I have been thinking about using CALayer sublayers, but I&#039;m completely stuck. Any help you can give would be greatly appreciated. Thanks a lot for your code examples in general.

Here&#039;s my adapted protocol for the TIFFs just out of interest for you:

        myImageSource = CGImageSourceCreateWithURL((CFURLRef)url, nil);
        int numFrames = (int)CGImageSourceGetCount(myImageSource);
        
        CAKeyframeAnimation * animation = [CAKeyframeAnimation animationWithKeyPath:@&quot;contents&quot;];
        NSMutableArray * values = [NSMutableArray array];
        imageLayer = [CALayer layer];
        // create the layer, animation and value array
        for(int i = 0; i &lt; numFrames; i++){
            theImage = CGImageSourceCreateImageAtIndex(myImageSource,i,NULL);
            [values addObject:(id)theImage];
        }
        
        [animation setValues:values];
        [animation setCalculationMode:@&quot;discrete&quot;];
        [animation setDuration:HUGE_VAL];
        [animation setRepeatCount:HUGE_VAL];
        
        // create the layer and add the animation
        CALayer * layer = [CALayer layer];
        // create the main layer and add the animation
        [layer addAnimation:animation forKey:@&quot;contents&quot;];
        [self setOverlay:layer forType:IKOverlayTypeImage];</description>
		<content:encoded><![CDATA[<p>Bonjour Citron,</p>
<p>I&#8217;m having trouble with IKImageView still. I want to create a means to be able to display multi-frame TIFFs in an IKImageView as it has all the convenience methods including zooming, rotating, cropping etc. As we all know, it&#8217;s a pain to resend an image to IKImageView as it redraws and doesn&#8217;t maintain the zoom / rotation settings from the previous image.</p>
<p>I have adapted your code for the animations to make it work for TIFFs easily. Your code is great. However what I really want is a means to be able to control the frame with a slider to be able to manually change the frame at will in an IKImageView. </p>
<p>Do you have any ideas how? I have been thinking about using CALayer sublayers, but I&#8217;m completely stuck. Any help you can give would be greatly appreciated. Thanks a lot for your code examples in general.</p>
<p>Here&#8217;s my adapted protocol for the TIFFs just out of interest for you:</p>
<p>        myImageSource = CGImageSourceCreateWithURL((CFURLRef)url, nil);<br />
        int numFrames = (int)CGImageSourceGetCount(myImageSource);</p>
<p>        CAKeyframeAnimation * animation = [CAKeyframeAnimation animationWithKeyPath:@"contents"];<br />
        NSMutableArray * values = [NSMutableArray array];<br />
        imageLayer = [CALayer layer];<br />
        // create the layer, animation and value array<br />
        for(int i = 0; i &lt; numFrames; i++){<br />
            theImage = CGImageSourceCreateImageAtIndex(myImageSource,i,NULL);<br />
            [values addObject:(id)theImage];<br />
        }</p>
<p>        [animation setValues:values];<br />
        [animation setCalculationMode:@&quot;discrete&quot;];<br />
        [animation setDuration:HUGE_VAL];<br />
        [animation setRepeatCount:HUGE_VAL];</p>
<p>        // create the layer and add the animation<br />
        CALayer * layer = [CALayer layer];<br />
        // create the main layer and add the animation<br />
        [layer addAnimation:animation forKey:@&quot;contents&quot;];<br />
        [self setOverlay:layer forType:IKOverlayTypeImage];</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MacOSX &#8211; ImageViewer by ImageViewer (Multimédia) &#124; Dinoweb.be</title>
		<link>http://blog.pcitron.fr/tools/macosx-imageviewer/#comment-496</link>
		<dc:creator>ImageViewer (Multimédia) &#124; Dinoweb.be</dc:creator>
		<pubDate>Tue, 04 Oct 2011 07:08:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pcitron.fr/?page_id=1382#comment-496</guid>
		<description>[...] d&#8217;informations ici : page de l&#8217;utilitaire (en anglais par contre)   Read more&gt;&gt;&gt;    This entry was posted in Téléchargement De Logiciels. Bookmark the [...]</description>
		<content:encoded><![CDATA[<p>[...] d&#8217;informations ici : page de l&#8217;utilitaire (en anglais par contre)   Read more&gt;&gt;&gt;    This entry was posted in Téléchargement De Logiciels. Bookmark the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MacOSX &#8211; ImageViewer by Citron</title>
		<link>http://blog.pcitron.fr/tools/macosx-imageviewer/#comment-492</link>
		<dc:creator>Citron</dc:creator>
		<pubDate>Sun, 02 Oct 2011 18:52:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pcitron.fr/?page_id=1382#comment-492</guid>
		<description>I AM using IKImageBrowserView ^^ The ImageBrowser class is inheriting from it, and I&#039;m using the IKImageBrowserView functionalities to size the thumbnails, handle the space between them, and display or not the images&#039; titles ^^</description>
		<content:encoded><![CDATA[<p>I AM using IKImageBrowserView ^^ The ImageBrowser class is inheriting from it, and I&#8217;m using the IKImageBrowserView functionalities to size the thumbnails, handle the space between them, and display or not the images&#8217; titles ^^</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MacOSX &#8211; ImageViewer by val</title>
		<link>http://blog.pcitron.fr/tools/macosx-imageviewer/#comment-491</link>
		<dc:creator>val</dc:creator>
		<pubDate>Sun, 02 Oct 2011 14:31:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pcitron.fr/?page_id=1382#comment-491</guid>
		<description>well, I have not tested drag/drop and copy/paste glad to know it can break things !
another thing : why did you not use ikimagebrowser ?</description>
		<content:encoded><![CDATA[<p>well, I have not tested drag/drop and copy/paste glad to know it can break things !<br />
another thing : why did you not use ikimagebrowser ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

