开发者

Reduce (1024x768 32bpp) image size to 30-50 k?

I' m taking a screenshot via Robot, BufferedImage's size 180-200kb (1024x768 px,32bpp). I make Standard jpeg compress(with 0.4f quality) and it's size reduces to 75-85kb . I want to reduce image size to 30-50 kb int 150-250 miliseconds.Is it possible and how?开发者_运维知识库


You might try another image compression algorithm, like JPEG 2000 etc. Speed depends on your system's capabilities as well, whereas compression rate also depends on your image data.


You can try reducing resolution of image too.


You can take at look at the Java Advanced Imaging (JAI) API to reduce the processing time, but I'm not sure if this image size is possible for the other constraints.

Reference Wikipedia:

While the API is provided in Java, platform-specific implementations can either use the pure Java implementation or provide an implementation that takes advantage of native technology on the platform to provide better performance.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜