On Mar 25, 2014, at 9:30 AM, Andreas Mayer <andr...@harmless.de> wrote:
> I don't care at what speed the browsers play animated GIFs. I'm using a 
> system framework to find out the values stored inside the GIF file. And what 
> the system reports is wrong in some cases. If this behaviour of AppKit is 
> documented somewhere, that would be helpful to know.

NSImage is not describing the contents of the file. NSImage is describing the 
contents of the image as AppKit will present it. 

You may get better results by using CGImageSource and looking for 
kCGImagePropertyGIFDelayTime and kCGImagePropertyGIFUnclampedDelayTime. 


-- 
Greg Parker     gpar...@apple.com     Runtime Wrangler



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to