Skip to content Skip to sidebar Skip to footer

How To Reduce Image Programmatically In Android?

I am programmatically taking screenshot of the screen in my android app using the following code. It is working fine. The problem I see is, it is taking screenshot of the entire la

Solution 1:

Try this:

Bitmap resizedImage = Bitmap.createScaledBitmap(old_bitmap,desiredimageWidth,desiredimageHeight, true);

Post a Comment for "How To Reduce Image Programmatically In Android?"