<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="cube.jpg" Width="150"> <Image.BitmapEffect> <EmbossBitmapEffect Relief="0.5"></EmbossBitmapEffect> </Image.BitmapEffect> </Image> </Canvas> </Page>