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 (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