Re: Quartz over GhostScript
Re: Quartz over GhostScript
- Subject: Re: Quartz over GhostScript
- From: Vince DeMarco <email@hidden>
- Date: Fri, 14 Jun 2002 20:20:30 -0700
On Friday, June 14, 2002, at 05:39 PM, Ben Mackin wrote:
Currently I am using ghostscript to convert my pdf files into tiff-g3
(fax
format). While this works fine, I am limited to what gs version I can
use.
6.01 seems to be the most compatible with OS X, but lacks accent and
foreign
character support. 6.53 and 7.04 choke on some pdf files I give it
(ones
made by OS X usually).
So my question is this, is there some way to use quartz to render my
pdf
file to a tiff-g3 file? I would rather not have to delve into printer
driver
writing if I didn't have to (as I have no experience here yet).
If someone could point me to some documentation, if this is even
possible,
that would be great.
That would be easy, write a small Cocoa Application that loads the PDF
into an NSImage and then tell that NSImage to get its
- (NSData *)TIFFRepresentation;
- (NSData *)TIFFRepresentationUsingCompression:(NSTIFFCompression)comp
factor:(f
loat)aFloat;
and save the resulting NSData to disk.
vince
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.