We ran into trouble with animated xaml icons, we were using hundreds of these on a map and it did consume some CPU. We switched to Jose's sprite method using a series of frames as a single png image with great results.
If anyone is interested I made it into a reusable control: http://deepearth.codeplex.com/sourcecontrol/network/Show?projectName=deepear th <http://deepearth.codeplex.com/sourcecontrol/network/Show?projectName=deepea rth&changeSetId=37658#584181> &changeSetId=37658#584181 (I really should start blogging all this stuff...) John. From: [email protected] [mailto:[email protected]] On Behalf Of Miguel Madero Sent: Tuesday, 9 March 2010 12:54 PM To: ozSilverlight Subject: Re: xaml icons When using complex vector graphics, I think you should consider not only the size, but also the CPU impact it might have. I would hope that for small icons this won't be an issue. I don't have experience in this area, but it's something I would try to test/google before going with that approach. On Tue, Mar 9, 2010 at 12:25 PM, John OBrien <[email protected]> wrote: Icons are really time consuming for a graphic designer, I like this site: http://www.iconfinder.net <http://www.iconfinder.net/> as it has good quality free icons with a filter to show the ones allowed for commercial use. Even an API in there J I started out thinking everything in Silverlight should be vector based XAML so it can scale to any size but found it way too difficult to create, I'm back to just using nice PNG images. That said if you get a kit of icons in a vector format then expression design should be able to convert them to XAML, when comparing filesizes remember that the xaml will be zipped. I do recommend comparing what the filesize will be in xaml vs PNG and whether you need them to scale beyond 128x128px or 64x64px size. John. From: [email protected] [mailto:[email protected]] On Behalf Of Vishwanath Humpy Sent: Tuesday, 9 March 2010 10:56 AM To: [email protected] Subject: xaml icons Does anyone know of any good free or paid resource for xaml icons? I can do them myself but I'm a bit slow and don't have a graphics designer by my side. I know there are plenty of converters, as well documented here, but you do need something to convert : http://blogs.msdn.com/mswanson/pages/WPFToolsAndControls.aspx I also had hopes for this visio -> xaml but it doesn't work on my machine : http://visioautomation.codeplex.com <http://visioautomation.codeplex.com/> Or I am on the wrong track, perhaps icons are best left as pngs and I should just invest in an icon library such as http://www.iconshock.com/ and forget about it ? <http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/sign atureline....@middle?> Image removed by sender. _______________________________________________ ozsilverlight mailing list [email protected] http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight -- Miguel A. Madero Reyes www.miguelmadero.com (blog) [email protected]
<<image001.jpg>>
_______________________________________________ ozsilverlight mailing list [email protected] http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
