Menu

#1 large images in RAM

open
nobody
None
5
2005-08-30
2005-08-30
No

Actually all BufferedImages use an RGB color model,
even for black and white images. This patch create a
bufferedimage TYPE_BYTE_BINARY iff the image deoth is 1.

This way, the total memory used by the image is
drastically reduced to a fraction of actual amount.

Bye,
Giuseppe

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.