Skip navigation.
 
mlLame problem with NSImageView
FROM : Michael Heinz
DATE : Wed Nov 03 15:21:27 2004

So, I was trying to knock out a little image viewer today to re-familiarize myself with Cocoa and Objective C, but I 've gotten stuck with an odd behaviour with NSImageView.

I'm taking the default settings for NSImageView, including proportional scaling but some images not only do not scale to fill the window they are getting rendered at only a few percent of their "real" size - even if I go and modify the NIB so that NSImageView is set to not scale at all.  The images seem to behave appropriately in Preview.

Any suggestions on what to look for? Also - how do I manually change the scale of the image the way Preview can?

Thanks in advance!

Related mailsAuthorDate
mlLame problem with NSImageView Michael Heinz Nov 3, 15:21
mlRe: Lame problem with NSImageView Perry Clarke Nov 4, 00:41
mlRe: Lame problem with NSImageView Michael Heinz Nov 4, 03:15
mlRe: Lame problem with NSImageView M. Uli Kusterer Nov 5, 01:25