• 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: NSImageView bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSImageView bug?


  • Subject: Re: NSImageView bug?
  • From: Andy Armstrong <email@hidden>
  • Date: Sat, 8 Oct 2005 22:53:29 +0100

On 8 Oct 2005, at 22:50, Dario Mèndez Musicò wrote:
I don't know if anybody noticed this, but NSImageViews tend to show "blurred" images when the window gets resized.

I tried to search for a workaround, and stumbled into this
http://cocoa.karelia.com/AppKit_Classes/NSImageView_subclas.m

Unfortunately, this didn't help.

Experimenting a little further I've noticed that when testing in interface builder the "blurring" doesnt' happen, but when the application runs it does happen.

Anybody else is experiencing this or knows a working workaround?

It's because the coordinate system uses real numbers rather than integers and can render images with sub-pixel alignment - which results in the image being resampled to effect the sub-pixel shift. Check the coordinates at which you're rendering the image.


--
Andy Armstrong, hexten.net

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSImageView bug?
      • From: Dario Mèndez Musicò <email@hidden>
References: 
 >NSImageView bug? (From: Dario Mèndez Musicò <email@hidden>)

  • Prev by Date: NSImageView bug?
  • Next by Date: Re: NSImageView bug?
  • Previous by thread: NSImageView bug?
  • Next by thread: Re: NSImageView bug?
  • Index(es):
    • Date
    • Thread