-->

Create upside down bitmap with matrix

Advertisemen
To create upside down bitmap with matrix:
     Matrix matrixUpsideDown = new Matrix(); 
matrixUpsideDown.preScale(1.0f, -1.0f);
bitmapMaster = Bitmap.createBitmap(
tempBitmap,
0,
0,
tempBitmap.getWidth(),
tempBitmap.getHeight(),
matrixUpsideDown,
false);

Create upside down bitmap with matrix
 Refer to last exercise "Create mirror bitmap with matrix" for full example.



more: Something about processing images in Android

Advertisemen

Disclaimer: Gambar, artikel ataupun video yang ada di web ini terkadang berasal dari berbagai sumber media lain. Hak Cipta sepenuhnya dipegang oleh sumber tersebut. Jika ada masalah terkait hal ini, Anda dapat menghubungi kami disini.
Related Posts
Disqus Comments
© Copyright 2017 GENERAL INFO FOR ANDROID DEVELOPMENT - All Rights Reserved - Template Created by goomsite - Proudly powered by Blogger