Re: PDFKit guidance
Re: PDFKit guidance
- Subject: Re: PDFKit guidance
- From: Torsten Curdt <email@hidden>
- Date: Fri, 20 Jun 2008 12:05:59 +0200
On Jun 20, 2008, at 02:40, John Calhoun wrote:
On Jun 19, 2008, at 4:35 PM, Torsten Curdt wrote:
I would like to convert a PDF of any size so it fits to A4/Letter.
I would also like to reduce it to gray scale. This all without
displaying anything.
PDFKit gives you -[PDFPage setBounds:forBox] which would easily give
you A4/Letter size if that is what you specified. However, no
scaling is done. A PDFPage subclass could be fairly easily written
that would do the scaling though....
Look at QuartzFilters (in Quartz.framework) — this is where you can
create a filter for converting to greyscale. PDFDocument allows you
to pass in a QuartzFilter in the save methods (in the options
dictionary) if you want to apply this Quartz Filter on saving.
So, PDF Kit can I think do what you want.
Awesome! Thanks for the pointers, John.
cheers
--
Torsten_______________________________________________
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