Re: Problem converting pdfs to jpegs with Cocoa & Quartz...
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