When should we use images (jpg, png) and when should we use XAML in the application.
Picture
+ "easy" for the designer to create what he wants
+ are displayed the same on every computer
- fixed resolution
Xaml
+ vector format (resolution independent, resize able, ...)
+ can be animated
+/- rendered by the client
- not as many effects available as for images or are really complex to create
- complex visual tree
I could not find a source that compares resource usage (CPU, RAM) between images and XAML.
I personally believe that everything should be XAML, but I do not want the application to be as slow as hell. Are there any good recommendations for the efficient use of XAML drawings?
, , XAML, RenderTargetBitmap , . , . , .