Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Custom Button Icons

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
Anonymous
1022 Views, 5 Replies

Custom Button Icons

Anonymous
Not applicable

Hi!

I'm in the makings of setting up my own split button and the cherry on top would be some nice icons. I have tried various solutions but not managed to reach the sharpness and level of quality like the existing icons in Revit, does anyone know how to get that result?  

Regards,

Leo

 

 

Current state/result:

 
 
 
 
 
 
 

TagImg.png

0 Likes

Custom Button Icons

Hi!

I'm in the makings of setting up my own split button and the cherry on top would be some nice icons. I have tried various solutions but not managed to reach the sharpness and level of quality like the existing icons in Revit, does anyone know how to get that result?  

Regards,

Leo

 

 

Current state/result:

 
 
 
 
 
 
 

TagImg.png

Tags (3)
Labels (3)
5 REPLIES 5
Message 2 of 6
Jaime_Alonso
in reply to: Anonymous

Jaime_Alonso
Enthusiast
Enthusiast

Have you checked the colour depth of those images and pixels per inch? I usually use photoshop to check those under "Image" > "Size of image".

It did happen to my that a 16 bit colour depth display the icon smaller.

0 Likes

Have you checked the colour depth of those images and pixels per inch? I usually use photoshop to check those under "Image" > "Size of image".

It did happen to my that a 16 bit colour depth display the icon smaller.

Message 3 of 6
Anonymous
in reply to: Jaime_Alonso

Anonymous
Not applicable

I got a 32bit dept, I guess I just have made the icons poorly? I found an Autodesk Icon Guideline which I will try to make sense of.

I got a 32bit dept, I guess I just have made the icons poorly? I found an Autodesk Icon Guideline which I will try to make sense of.

Message 4 of 6
RPTHOMAS108
in reply to: Anonymous

RPTHOMAS108
Mentor
Mentor

What I tend to do is create a larger image perhaps 150x150 pixels in a vector format. I then save directly from this into the two smaller raster format sizes required (32 and 16 at 96 dpi).

 

You find that if you resize a raster format you get such a bad result in terms of image blur. There is also a lot of colour averaging that takes place during resizing a bitmap (leading to grey colours creeping in).

 

 

What I tend to do is create a larger image perhaps 150x150 pixels in a vector format. I then save directly from this into the two smaller raster format sizes required (32 and 16 at 96 dpi).

 

You find that if you resize a raster format you get such a bad result in terms of image blur. There is also a lot of colour averaging that takes place during resizing a bitmap (leading to grey colours creeping in).

 

 

Message 5 of 6
Anonymous
in reply to: RPTHOMAS108

Anonymous
Not applicable

Alright! That's a good idea :light_bulb: what software do you prefer to use?

0 Likes

Alright! That's a good idea :light_bulb: what software do you prefer to use?

Message 6 of 6
RPTHOMAS108
in reply to: Anonymous

RPTHOMAS108
Mentor
Mentor
Accepted solution

I use an old version of Expression Design, no longer supported by Microsoft but I believe someone has made it available elsewhere.

 

The good thing about Expression Design is that you can copy to clipboard in xaml (paths etc.), which means you can draw features of WPF controls etc.

 

Not sure why they discontinued it, they had Blend but to my mind that was just VS with a different UI.

I use an old version of Expression Design, no longer supported by Microsoft but I believe someone has made it available elsewhere.

 

The good thing about Expression Design is that you can copy to clipboard in xaml (paths etc.), which means you can draw features of WPF controls etc.

 

Not sure why they discontinued it, they had Blend but to my mind that was just VS with a different UI.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report