• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: GIF frame duration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: GIF frame duration
      • From: Andreas Mayer <email@hidden>
References: 
 >GIF frame duration (From: Andreas Mayer <email@hidden>)
 >Re: GIF frame duration (From: Andreas Mayer <email@hidden>)
 >Re: GIF frame duration (From: "D. Felipe Torres" <email@hidden>)
 >Re: GIF frame duration (From: Andreas Mayer <email@hidden>)

  • Prev by Date: CFXMLCreateStringByUnescapingEntities() bombs on "&#13207494"
  • Next by Date: Re: CFXMLCreateStringByUnescapingEntities() bombs on "&#13207494"
  • Previous by thread: Re: GIF frame duration
  • Next by thread: Re: GIF frame duration
  • Index(es):
    • Date
    • Thread