gulteking
gulteking

Reputation: 11

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?

Upvotes: 1

Views: 1092

Answers (3)

Thor
Thor

Reputation: 6656

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.

Upvotes: 0

Mihai Maruseac
Mihai Maruseac

Reputation: 21460

You can try reducing resolution of image too.

Upvotes: 0

Thomas
Thomas

Reputation: 88757

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.

Upvotes: 2

Related Questions