Icon file in asp:Image

  • Thread starter Thread starter ghostwolf
  • Start date Start date
G

ghostwolf

I want to use some icons in my web page which is *.ico in asp:Image control.
But I've found that the quality is very bad indeed. It's seems that it
doesn't support on showing *.ico file. How can I show them in a pretty way?
Thanks in millions.
 
Hi,
I want to use some icons in my web page which is *.ico in asp:Image control.
But I've found that the quality is very bad indeed. It's seems that it
doesn't support on showing *.ico file. How can I show them in a pretty way?
Thanks in millions.

Try getting a Bitmap representation of the Icon by using Icon.ToBitmap.
This creates a Bitmap object, the representation of which might be of
better quality.

HTH,
Laurent
 
Back
Top