site_archiver@lists.apple.com Delivered-To: cocoa-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=M466hMUf0oXA0sDc51L5DthP5uB1GW3SD7+ZSY5LVlo=; b=Ks0dLKsHX5uUGRr4KdFc4ncuUHV3eFeF5ri5Objo6kl0xMR9TnYaAbb/8hqi+sGz6q l+xINUT62g6ETWVMQRgOoZKRcr6+CHgc6GSaWUHukBKcOGdzJMu+n3djqfsDl+5rc6i/ 73Loj3ZLUUjJcUDR/6PXbhHRz+mOY+EJGb5M4= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=J/pmNrvtIcpyi32+RcnAhI2jAsDtcFQFb8NV2jNBgeU80G97pdzvmK3Do8COBVP2qg YBKuddzvyaer8pctLXz7gzoKw1Cxx1M5khUMkAPBVmBG5kzDjDjp8rx21qmFYzVt7WQN LLCj5dduJTAEI/VMsSgw+fENcQLcu2b/Taecw= On Mar 31, 2010, at 15:58, Martin Wierschin wrote:
I'd like to open a PDF document and capture the first page in an NSImage.
If I remember correctly, if you init an NSImage with some PDF data/file it will automatically draw just the first page. But I don't know if that's documented anywhere.
~Martin
Martin (and Warren), Thanks a million! That works beautifully! -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Software laurent.daudelin@gmail.com Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/site_archiver%40lists.apple... This email sent to site_archiver@lists.apple.com