• 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: Problem converting pdfs to jpegs with Cocoa & Quartz...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem converting pdfs to jpegs with Cocoa & Quartz...


  • Subject: Re: Problem converting pdfs to jpegs with Cocoa & Quartz...
  • From: Michael Heinz <email@hidden>
  • Date: Mon, 9 May 2005 23:49:44 -0400

Sven,

Unfortunately, this approach does not work - it produces a scaled up image, but the image is very blurry.

This is very frustrating - obviously it is possible, because Preview can zoom in on a PDF without losing sharpness at all. There must be some kind of limiter in the NSImage class!

On May 9, 2005, at 8:48 AM, Sven Hoffmann wrote:

Hallo Maichael,

I suggest you create a NSImage from the pdf file and use NSImages drawInRect:fromRect:operation:fraction: method to draw it into into the current context.

Here's the documentation of the method:

"- (void)drawInRect:(NSRect)dstRect fromRect:(NSRect)srcRect operation:(NSCompositingOperation)op fraction:(float)delta


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Problem converting pdfs to jpegs with Cocoa & Quartz...
      • From: Scott Thompson <email@hidden>
References: 
 >Problem converting pdfs to jpegs with Cocoa & Quartz... (From: Michael Heinz <email@hidden>)
 >Re: Problem converting pdfs to jpegs with Cocoa & Quartz... (From: Sven Hoffmann <email@hidden>)

  • Prev by Date: NSTableView BIndings
  • Next by Date: Re: NSTableView BIndings
  • Previous by thread: Re: Problem converting pdfs to jpegs with Cocoa & Quartz...
  • Next by thread: Re: Problem converting pdfs to jpegs with Cocoa & Quartz...
  • Index(es):
    • Date
    • Thread