1
peeps

Cropping an image in Silverlight 3 « Programmer Payback

published 930 days, 20 hours, 30 minutes ago posted by http://jonnyboats.wordpress.com/http://jonnyboats.wordpress.com/ 931 days, 17 hours, 27 minutes ago
Saturday, July 18, 2009 1:36:14 PM GMT Friday, July 17, 2009 4:39:35 PM GMT

Silverlight 3 introduces the WriteableBitmap class and with it, the ability to crop an image programmatically on the client!

All you need to do is create a new instance of the WritableBitmap class as your destination (supplying the dimensions in the constructor). Then create or acquire another instance of the WriteableBitmap class fully loaded with an image (among other ways, you can do this by creating a BitmapSource object from a stream via .SetSource and passing that BitmapSource instance into the co...

category: News | clicked: 8 | | source: programmerpayback.com | show counter code
tags: Silverlight

No comments yet, be the first one to post comment.

To post your comment please login or signup