Ask Your Question

Revision history [back]

OpenCV supports writing to JPEG with compression arguments.

http://docs.opencv.org/modules/highgui/doc/reading_and_writing_images_and_video.html?highlight=imwrite#imwrite

Or in android

http://docs.opencv.org/java/org/opencv/highgui/Highgui.html#CV_IMWRITE_JPEG_QUALITY

If you require compressing to a ZIP or tarball there are android versions of these around. If you search the internet.