jeudi 17 décembre 2015

Is it possible to zip a bytearray/bitmap to a specific size?

I was trying to save images into the sqlite database, but even I compress and rescale my bitmap, the file was still too big, especially when you capture a image from the phone's camera. Is there anyway to zip the bytearray/bitmap into a specific size like from 4mb to 100kb? If yes, how can I do that? Please help.

Aucun commentaire:

Enregistrer un commentaire