Revit Icons Support High-Resolution Display

Revit Icons Support High-Resolution Display

ricaun
Advisor Advisor
880 Views
4 Replies
Message 1 of 5

Revit Icons Support High-Resolution Display

ricaun
Advisor
Advisor

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.

 

ricaun_1-1735226149086.png

 

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.

 

Images-Ico-Light

Images-Tiff-Light

 

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.

 

Luiz Henrique Cassettari

ricaun.com - Revit API Developer

AppLoader EasyConduit WireInConduit ConduitMaterial CircuitName ElectricalUtils

881 Views
4 Replies
Replies (4)
Message 2 of 5

ricaun
Advisor
Advisor
0 Likes
Message 3 of 5

jeremy_tammik
Alumni
Alumni

Thank you very much for sharing the interesting information and submitting the Revit idea, @ricaun !

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes
Message 4 of 5

Disappointed
Advisor
Advisor

Why not just establish SVG as standard format for all icons and be ready for all resolutions?

0 Likes
Message 5 of 5

ricaun
Advisor
Advisor

Actually is this 5 PNG scale images or a SVG if you look closer in Autodesk Icon Design Guidelines. 

 

Not all programs support SVG, is kinda possible to use a SVG in Revit but requires some external library that has some limitations.

 

Because Autocad use the 5 PNG scale images, probably is the most reliable way to show high resolution images in Ribbons.

 

Luiz Henrique Cassettari

ricaun.com - Revit API Developer

AppLoader EasyConduit WireInConduit ConduitMaterial CircuitName ElectricalUtils

0 Likes