Click here to Skip to main content
15,885,835 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
Hi,

Instead of 16x16 icon I want to use 32x32 or even more, how to do that??
A simple window created by me is currently using icon 16x16 and I want to change it.

Actually I am have one application which is using 32x32 icon and if I try to use the same then my window does not show that 32x32 icon. If I paste it on 16x16 then some part of the icon is cut. How does the application I have can use 32x32 icon but not my window ? what are the settings for that ?? that is what I want to know.

Thanks in advance,
Prasad.
Posted
Updated 3-Oct-12 21:01pm
v2
Comments
Sergey Alexandrovich Kryukov 3-Oct-12 13:58pm    
What causes you creation of 16x16? One approach is making a really big (1M pixel and better) one and scale down, but even then the result can be not perfect; it depends on the content.
--SA

1 solution

This "change" is called "re-sampling". This is pixel graphics, not vector; in particular, it means if you automatically re-sample 16x16 to any bigger size, the result will be prohibitively ugly in most of cases, almost always. Scaling down is more successful, but in such small sizes still questionable, usually needs manual re-touch. To me, all iconic images need qualification of a good artist and designer, and, for such small sizes, even all re-samplings. If some ugliness is your choice, you can do it in any graphics editor, but consider I warned you.

[EDIT: in response to follow-up question]

There are many products, free or open-source, to do that properly. For icons, I recommend IcoFx:
http://en.wikipedia.org/wiki/IcoFX[^],
http://icofx.ro/[^].

I tell you, the IcoFx quality is better then is simple approach, but manual re-touch is typically needed for really good quality.

—SA
 
Share this answer
 
v2
Comments
prasad@codeproj 4-Oct-12 3:00am    
Thanks. But actually I have one application which is using 32x32 icon and if I try to use the same then my window does not show that 32x32 icon. If I paste it on 16x16 then some part of the icon is cut. How does the application I have can use 32x32 icon but not my window ? what are the settings for that ?? that was my question actually.
Sergey Alexandrovich Kryukov 4-Oct-12 3:12am    
Well, this problem is easy. Please see my updated answer, after [EDIT]. IcoFx will scale, not crop. Try to see if you like it.

And please consider accepting this answer formally (green button).
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900