• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSImage scaling and data loss
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSImage scaling and data loss


  • Subject: Re: NSImage scaling and data loss
  • From: Robert Miller <email@hidden>
  • Date: Wed, 11 Jul 2001 08:40:45 -0400
  • Organization: RFM & Associates

Nope, tried that and it had no effect.

John Hvrnkvist wrote:

> On Monday, July 9, 2001, at 09:04 PM, Robert Miller wrote:
>
> > 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.
>
> I think this is resolved if you tell the image to retain its initial
> data;
> [theImage setDataRetained:YES];
>
> Regards,
> John Hornkvist
> --
> ToastedMarshmallow, the perfect Cocoa companion
> http://www.toastedmarshmallow.com


References: 
 >Re: NSImage scaling and data loss (From: John Hörnkvist <email@hidden>)

  • Prev by Date: Re: is the nextKeyView really used by Cocoa ?
  • Next by Date: Re: NSTabView aling
  • Previous by thread: Re: NSImage scaling and data loss
  • Next by thread: sstream & screen color query
  • Index(es):
    • Date
    • Thread