My jpg file size is 5 KB. How can I make it 15 KB fi开发者_如何学编程le?
please Go through these Link.
http://www.mkyong.com/java/how-to-resize-an-image-in-java/
http://www.java2s.com/Code/Java/2D-Graphics-GUI/Imagesize.htm
JPEG is a compression algorithm, and hence its 5 KB. Save it as a 32-bit or higher Bitmap to get maximum size possible for that image. And your question has a lot of scope for improvement. Give context, reasons, and methods you already tried.
精彩评论