<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Class="Microsoft.Samples.Graphics.RectangleExample" WindowTitle="Example"> <Canvas> <Image Margin="3" Source="c:\image.jpg" Width="150"> <Image.BitmapEffect> <EmbossBitmapEffect Relief="0.9"></EmbossBitmapEffect> </Image.BitmapEffect> </Image> </Canvas> </Page>