Re: Does CGImageSourceCreateThumbnailAtIndex max out at 5000 pixels?
Re: Does CGImageSourceCreateThumbnailAtIndex max out at 5000 pixels?
- Subject: Re: Does CGImageSourceCreateThumbnailAtIndex max out at 5000 pixels?
- From: David Duncan <email@hidden>
- Date: Fri, 27 Feb 2009 11:27:06 -0800
On Feb 27, 2009, at 1:12 AM, Florian Soenens wrote:
i'm trying to use this function in one of our tools and we noticed
that it maxes out at 5000 pixels.
The documentation says that if you do not specify
kCGImageSourceThumbnailMaxPixelSize the width and height of a
thumbnail is not limited and thumbnails may be as big as the image
itself.
In our case the outcoming image is always 5000 pixels wide, even
though the original width was over 5000 pixels.
Anyone has any clue on this, i googled but found nothing relevant?
I would say that this level of behavior is undefined, if your looking
for a thumbnail, then your implying to the API that you are expecting
an image no larger than the original - which is what you are getting.
Could you better explain what you are trying to do?
--
David Duncan
Apple DTS Animation and Printing
_______________________________________________
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