On Android, how do I save an image file as a JPEG at 30% quality?
In standard Java, I would use ImageIO
to read the image as a BufferedImage
, then save it as a JPEG file using an IIOImage
instance: http://www.universalwebservices.net/web-programming-resources/java/adjust-jpeg-image-compression-quality-when-saving-images-in-java. It appears, however, that Android lacks the javax.imageio
package.
.../test.png
a typo then? – Fathom