Use the Code: WRAC11
Jerry Nixon is a team mate of mine and a funnier guy you would have difficulty finding, outside of Kenny Spade another team mate of mine. If you were in 6th grade with either of these guys you would likely get gigged for deportment, but have fun getting the demerits.
Anyway, Jerry told me once that he was using Expression Design to make an image into a XAML usercontrol. Why I wondered, and now that he has been at Microsoft for awhile he is too busy to spend time detailing what he is doing.
So I dug in and examined the process of changing a PNG kind of file into a XAML type of UserControl for use in Expression Blend and maybe the phone.
Where to get an image to convert, clip art for Office is usually a good place to start. These are located at: http://office.microsoft.com/en-us/images/
Most, but not all are downloaded as WMF, which means that they are easily resizable without pixilation. WMF files can’t be used on the phone, so it will need to be converrted to a XAML Usercontrol, why not a PNG? Well being able to avoid pixilation is a good thing and the XAML type of image does the trick.
I decided to use images similar to the shark:
And those have a link: http://office.microsoft.com/en-us/images/similar.aspx#a:MC900358163 , the link shows all of the similar images.
And my plan is to create a aquatic community with an attitude.
Now let’s take a look at changing the WMF file to a XAML type of file:
The shark.wmf is imported with the clipping paths shown. This is good. You can easily remove the shadow (the ellipse at the bottom) Use the direct selection tool (the white one) to loop the shadow (ellipses) and then press delete
In the next post, I will discuss how to use this XAML to create a UserControl
Wow, now I understand Design better!