Skip to content Skip to sidebar Skip to footer

Rotate The Image As Per The Passed Orientation To The Functions Using Native Code

i want to rotate the image as per passing the orientation to the function in my rotateBitmap() funcation. i have taken the reference about this method from this awesome library. Wh

Solution 1:

The code I've made already supports rotation. just look at the sample project to see how to call it.

Also, gray scaling shouldn't be a too hard operation to implement on the C++ code I've made. I'm sure there are examples of it on the Internet.

About downsampling, I didn't make it as it's a lot of work, but I have added scaling of images that are already decoded (meaning they are stored as bitmap objects). However, you can always downscale using the normal Google's way , or my way (the bottom code).

Post a Comment for "Rotate The Image As Per The Passed Orientation To The Functions Using Native Code"