scaling NSPDFImageRep?
scaling NSPDFImageRep?
- Subject: scaling NSPDFImageRep?
- From: Sebastien Boisvert <email@hidden>
- Date: Thu, 8 Sep 2005 23:18:58 -0700 (PDT)
I've been working on getting a snapshot of a view that
I can use as a small preview (or thumbnail) that also
scales well for display in an interface that can
resize it; for this I'm creating the image by calling
dataWithPDFInsideRect on the view and it works well,
however there are two disadvantages I'd like to try to
correct:
1- Data size. I set the preview image size to about
300x340, but the PDF representation is that of the
original (say 1000x1200), so this creates a large data
block (about 82K) when I store it, far too large
considering the use I make of it
2- Slow rendering. This I believe is related to #1
since a lot of data is used to draw the image. And
since I can sometime have 2-3 displayed, things get
choppy when the images are resized.
Any suggestion on how to reduce the data size, while
still maintaining a good quality scalable image as a
preview?
______________________________________________________
Click here to donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/
_______________________________________________
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