I would like to create a page thumbnail as the one I have seen on the Apple's application Page. Any time I modify an object on the page, the thumbnail page gets immediatelly updated.
Actually I simply get a 256 x 256 image from the NSView with displayRectIgnoringOpacity. It works. The point is that it's slow and the thumbnail has fixed size. So if the user enlarges the width of the thumbnails list, the fixed images get pixelated. Bigger thumbnails get a longer time to be created. I tried to get the a thumbnail pdf image with dataWithPDFInsideRect. It's slow too at capturing the image. The images are not longer pixelated but in case of pdf with HR images, it slows down the scolling of the list. So I thought to create a kind of twin thumbnail NSView, where the NSView page gets drawn in real time. The result is that the page gets drawn twice and that slows down the application. Is any way I can just draw once the page and automatically get a fast and real time image in the thumbnail? Regards -- Leonardo _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com