Re: NSBitmapImageRep setSize: doesn't always do the right thing

2016-03-14 Thread Steve Mills
On Mar 14, 2016, at 03:29 PM, Quincey Morris wrote: It’s not clear what your intention is, in trying to set the size of the image rep. It’s a NSBitmageImageRep, right? The pixels are the pixels are the pixels, so I don’t think you should be doing anything to the image *rep* size.   Normally,

Re: NSBitmapImageRep setSize: doesn't always do the right thing

2016-03-14 Thread Quincey Morris
On Mar 14, 2016, at 12:55 , Steve Mills wrote: > > The cropped NSImage is created at the scaled-up size, drawn into, and finally > the cropped NSImage's first NSImageRep is set to draw at the perceived, > high-res size via [cropped.representations.firstObject > setSize:perceivedSize]. This all