> I can't recall/reproduce, but it was definitely *inside* > CGImageSourceCreateThumbnailAtIndex(). > > If there is no image a tinder 0, shouldn't it just return NULL gracefully?
We don’t know that. There are many routines that throw exceptions when the index is out of bounds. You should be calling CGImageSourceGetCount first to make sure there’s an image at 0. Steve via iPad _______________________________________________ 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