NSImage scaling and data loss
NSImage scaling and data loss
- Subject: NSImage scaling and data loss
- From: Robert Miller <email@hidden>
- Date: Mon, 09 Jul 2001 15:04:00 -0400
- Organization: RFM & Associates
Hello,
Can someone pleeeeaaaassse help. I'm working with large images
typically C,D, or E sized (8800 x 6800 pixels) stored as Group4 Tiff and
using these images in an NSImage object. I am applying a scaling using
an NSAffineTransform so as to zoom in and out on the image. As the image
is zoomed out (shrunk in size) to show more of it within a view, there
is significant data loss and the image becomes indisguishable. The same
images do not produce this problem in a Carbon version using CopyBits.
Is there a way to be able to shrink a large image with scaling so that
there is a minimal loss of data and the reduced image still looks OK
using Cocoa ?? Any help would be greatly appreciated.
Thanks in advance.
Regards,
B. Miller