Re: GIF frame duration
Re: GIF frame duration
- Subject: Re: GIF frame duration
- From: Greg Parker <email@hidden>
- Date: Tue, 25 Mar 2014 10:24:42 -0700
On Mar 25, 2014, at 9:30 AM, Andreas Mayer <email@hidden> 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 email@hidden Runtime Wrangler
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden