OS X Screensaver: Retina Thumbnail Image

I am developing a screensaver for OS X using the Xcode screensaver template. Having examined the contents of the system saver package, I found that the sketches used in the list of system saver settings were obtained from two files in a set of screensavers:

thumbnail.png (90x58) thumbnail@2x.png (180x116) 

I created two images of these sizes and placed them in my screensaver. However, the System Preferences panel on the retina screen is displayed for loading assets without a retina. Here is a screenshot of the System Preferences panel next to the thumbnail@2x.png QuickLook image preview:

enter image description here


I have no ideas. Does anyone know what could be causing this and how can I stop it? Things I tried:

  • Use tiff instead of PNG. - The same result.
  • Naming Retinal Size Agent thumbnail.png - Same result.
  • Disable merge high resolution images in the Xcode build configuration. - The same result.
  • Delete shared files. Interestingly, the System Preferences panel will not return to drawing the default thumbnail icon. Instead, he draws an empty white rectangle. This led me to think that caching could happen, so I spent some time trying to find where it would be. Cleared settings, etc.

Oddities

If you check the system’s batch screensaver package, you will find that two thumbnail files do not report size in Finder. And if you open them with Sketch, they will both appear as 90x58 for this application. (Although Photoshop shows @ 2x activity as 180x116). For system sketches, the gloss effect is already applied, while my sketch automatically gets this effect, even if the image object does not contain it.

I'm starting to think that there is something suspicious about how the panel loads / draws these images. Maybe someone knows something that I don’t know?

+6
source share

All Articles