• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Quartz over GhostScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Quartz over GhostScript
      • From: Ben Mackin <email@hidden>
References: 
 >Quartz over GhostScript (From: Ben Mackin <email@hidden>)

  • Prev by Date: Protecting Software w/ Software License Keys...
  • Next by Date: Re: dividing values into range groups?
  • Previous by thread: Quartz over GhostScript
  • Next by thread: Re: Quartz over GhostScript
  • Index(es):
    • Date
    • Thread