Does CGImageSourceCreateThumbnailAtIndex max out at 5000 pixels?
Does CGImageSourceCreateThumbnailAtIndex max out at 5000 pixels?
- Subject: Does CGImageSourceCreateThumbnailAtIndex max out at 5000 pixels?
- From: Florian Soenens <email@hidden>
- Date: Fri, 27 Feb 2009 10:12:36 +0100
Hi list,
i'm trying to use this function in one of our tools and we noticed
that it maxes out at 5000 pixels.
We are feeding it a 400 dpi jpg of 9355 by 13243 (A1) with the
following props:
NSDictionary* thumbOpts = [NSDictionary dictionaryWithObjectsAndKeys:
(id)kCFBooleanFalse, (id)kCGImageSourceCreateThumbnailWithTransform,
(id)kCFBooleanTrue, (id)kCGImageSourceCreateThumbnailFromImageAlways,
nil];
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?
Thanks in advance,
Florian.
Looking for Web-to-Print Solutions?
Visit our website : http://www.vit2print.com
This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information and/or information protected by intellectual property rights.
If you are not the intended recipient, please note that any review, dissemination, disclosure, alteration, printing, copying or transmission of this e-mail and/or any file transmitted with it, is strictly prohibited and may be unlawful.
If you have received this e-mail by mistake, please immediately notify the sender and permanently delete the original as well as any copy of any e-mail and any printout thereof.
We may monitor e-mail to and from our network.
NSS nv Tieltstraat 167 8740 Pittem Belgium
_______________________________________________
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