• 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
CoreGraphics Image I/O Documentation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CoreGraphics Image I/O Documentation


  • Subject: CoreGraphics Image I/O Documentation
  • From: Kevin Meaney <email@hidden>
  • Date: Sun, 28 Jul 2013 13:40:54 +0100

Hi,

Just checked on lists for an e-mail list on CoreGraphics or Image I/O without seeing an obviously appropriate list. So since I'm already subscribed here I thought I'd give this list a shot.

In the header file for CGImageSource.h the only key that is listed as appropriate for the options dictionary passed into CGImageSourceCreateWithDataProvider, or CGImageSourceCreateWithData, or CGImageSourceCreateWithURL is kCGImageSourceTypeIdentifierHint.

Yet the code scrap in the "Image I/O Programming Guide / Creating and using Image Sources" sets up the options dictionary with keys: kCGImageSourceShouldCache, and kCGImageSourceShouldAllowFloat which the notes in the header files says should be used in the options dictionary which is passed into the functions which create a CGImage (CGImageRef) CGImageSourceCreateImageAtIndex. In the code scrap when CGImageSourceCreateImageAtIndex is called NULL is passed in for the options dictionary.

What is correct?

Kevin



_______________________________________________

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


  • Prev by Date: Re: Trying to understand/prevent crash using restorableStateKeyPaths in NSPersistentUI Work
  • Next by Date: Re: Exiting non-POSIX threads?
  • Previous by thread: Re: How to add device to Team Provisioning Profile?
  • Next by thread: Mixing Obj-C and C "methods"
  • Index(es):
    • Date
    • Thread