Skip to main content
Home Forums Silverlight Design Designing with Silverlight XAML vs png
3 replies. Latest Post by SpaceManPlusPlus on June 16, 2008.
(0)
caperaven
Member
133 points
107 Posts
06-11-2008 7:18 AM |
We are planning a system rewrite into silverlight.
At this point we need to decide if we are going to use png or xaml as our icon format.xaml scales nice in size with no quality loss, but icons don't scale all that much.It seems that png files you can grow in silverlight and the quality is still not tooo bad.
From a size perspective the same icon created in expression design, the xaml is 4k and the png 0.5k in size.Since size does matter in web applications, the question is, what is the suggested image format to go for when it comes down to icons.I also know that the xaml will compress in an assembly and that png does not compress all that well.
Was hoping some of you might have insight or experiance in what format to opt for.
party42
Participant
1102 points
338 Posts
06-11-2008 7:51 AM |
Basically you're giving the answer yourself. Use XAML for vector graphics which need scaling. Otherwise, you're perfectly fine to use PNG (make sure you set it to 96DPI).
Yi-Lun L...
All-Star
25052 points
2,747 Posts
06-13-2008 12:05 AM |
Hello,
Advantages of vector graphics:
Disadvantages of vector graphics:
So if your icons are static, I think it's better to use png.
SpaceMan...
12 points
18 Posts
06-16-2008 7:16 PM |
It depends, if you are making a complex one, use PNG