I have a Bitmap
object that I need to sometimes flip horizontally, sometimes vertically, sometimes both. The full framework has the Image.RotateFlip()
method which is exactly what I need. Unfortunately like most useful features on the full framework, this method does not exist on the compact framework. Is there a simple way to do this? The best I could find was this, but it uses unsafe code which I'd like to avoid and it could only do rotation not flipping.
Edit: Ok, I found a way to do some optimizations where I only need to do a vertical flip.