On 28.05.2008, at 03:16, also wrote:
I've created a custom NSView that displays an image and allows the
user to zoom in and out. The view works in general, but the quality
of the image displayed is not what I expect. When I zoom in even
slightly on a high resolution image (300 dpi, 500x500) t
Could you give more detail on what you're ultimately trying to and
more on the problems you're seeing in the results?
On May 27, 2008, at 8:13 PM, also wrote:
I had noticed this flag, but it did not solve the problem. I think
this must only effect scaling when the receiving view is resized
On May 28, 2008, at 4:37 AM, also wrote:
I've created a custom NSView that displays an image and allows the
user to zoom in and out. The view works in general, but the quality
of the image displayed is not what I expect. When I zoom in even
slightly on a high resolution image (300 dpi, 500x50
I had noticed this flag, but it did not solve the problem. I think
this must only effect scaling when the receiving view is resized such
as resizing a window. The docs are a bit vague.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do n
I think this is right as well. The image can be cached in a form best
suited for the first draw of it. Any further draws will very likely
use the cached version and the original resolution is gone. If you
set it not to cache, the image will be drawn from the original data
each time. You
That did the trick, many thanks!
___
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 Subs
I'm not 100% on this, but I think you need to set the cache mode on
the NSImage to disable caching, i.e:
[image setCacheMode: NSImageCacheNever];
hth,
G.
On 28 May 2008, at 10:37 am, also wrote:
I've created a custom NSView that displays an image and allows the
user to zoom in and out.
I've created a custom NSView that displays an image and allows the
user to zoom in and out. The view works in general, but the quality
of the image displayed is not what I expect. When I zoom in even
slightly on a high resolution image (300 dpi, 500x500) the image is
grainy and pixelated. If I d