Android - Convert BMP to JPEG with 8-bit depth -


i have fingerprint image captured in bmp format. code below.

mbitmapfp = bitmap.createbitmap(wight, height, config.rgb_565);       mcanvas = new canvas(mbitmapfp);       mpaint = new paint();        colormatrix cm = new colormatrix();       cm.setsaturation(0);       colormatrixcolorfilter f = new colormatrixcolorfilter(cm);       mpaint.setcolorfilter(f); 

i have requirement wherein bmp file needs converted jpeg depth of 8-bit. can please help?


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - How can I echo out this array? -

javascript - IE11 incompatibility with jQuery's 'readonly'? -