Revit Icons Support High-Resolution Display
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everyone!
Some weeks ago I was investigating how high resolution images work in Autodesk Products. Autocad dynamic changes the icon depending on the resolution of the monitor, and I want to do the same thing inside Revit to make the icons more clear if the user has a high resolution monitor.
Autocad uses a different approach that I was not aware of, all the icons are stored in a zip file and the image does not have explicit extension but is a ‘tiff’ file. Tiff file allows you to have multiple images with different sizes and different dpi.
This approach allows multiple resolutions of the same image in a single file, exactly as the Autodesk Icon Design Guidelines suggests. 5 DPI png images (100%, 150%, 200% 300% and 400%) to support clear displays on high-resolution monitors.
By default C# support loading ‘tiff’ files without any external libraries, so it was really simple to extend my library ricaun.Revit.UI to support ‘tiff’ files and select the best image in high-resolution monitors.
And to have some samples I update the Autodesk.Icon.Example project with tiff files. Below .ico images and .tiff images in 200% scale monitor.
I will start updating all my plugins to use tiff files instead of ico files to support high-resolution monitors. Here is some video of how I’m creating the tiff file.
Now I just need to convince Autodesk to update Revit to have images to support high-resolution monitors, like Autocad does. That’s a Revit idea.