Question

I am creating a photo app and I need to rotate my taken images by 90 degrees. I don't need to display them rotated, I actually need them to be saved that way so XAML transforms are not an option for me. I am aware that Nokia Imaging SDK is capable of that, but I am not using the SDK and it would be a bit overkill to use the whole SDK just to rotate an image by 90 degrees. I've found this: rotate image using rotateflip in C# but there is no Bitmap class in Windows Phone, that answer applies for regular Windows.

How can I rotate my image by 90 degrees?

Was it helpful?

Solution

Ok, I've found the WriteableBitmapExtensions for Windows Phone (http://writeablebitmapex.codeplex.com/). I didn't know such a library existed. It solved my problem, at least, it's much more lightweight than Nokia Imaging SDK.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top