{"id":41,"date":"2008-05-13T18:10:38","date_gmt":"2008-05-13T23:10:38","guid":{"rendered":"http:\/\/vgable.com\/blog\/2008\/05\/13\/fixing-blurry-images\/"},"modified":"2008-05-13T18:10:39","modified_gmt":"2008-05-13T23:10:39","slug":"fixing-blurry-images","status":"publish","type":"post","link":"https:\/\/vgable.com\/blog\/2008\/05\/13\/fixing-blurry-images\/","title":{"rendered":"Fixing Blurry Images"},"content":{"rendered":"<p>I had an issue today where an image (A <code>.png<\/code> at 72 DPI with transparency, inside an <code>NSImageView<\/code> &#8212; if that makes any difference) in a window was blurry.  The image was perfectly sharp in Interface Builder&#8217;s library panel, but when I placed it in a window, it turned blurry.  Maddening!  <\/p>\n<p>A (mysterious) workaround: put the image where you want it.  Then move it, then hit <strong>undo<\/strong>.  When it snaps back to where you want it, it should be sharp.<\/p>\n<p>I have absolutely no idea why this worked, or why the images were blurred by Interface Builder\/XCode in the first place. (And yes, the images were blurry when the application was built and run. It wasn&#8217;t just a display bug in Interface Builder).  It was purely coincidence that I stumbled across this &#8220;solution&#8221;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had an issue today where an image (A .png at 72 DPI with transparency, inside an NSImageView &#8212; if that makes any difference) in a window was blurry. The image was perfectly sharp in Interface Builder&#8217;s library panel, but when I placed it in a window, it turned blurry. Maddening! A (mysterious) workaround: put [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,3,4],"tags":[],"class_list":["post-41","post","type-post","status-publish","format-standard","hentry","category-bug-bite","category-macosx","category-programming"],"_links":{"self":[{"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/posts\/41","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/comments?post=41"}],"version-history":[{"count":0,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/posts\/41\/revisions"}],"wp:attachment":[{"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/media?parent=41"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/categories?post=41"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/tags?post=41"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}