The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
December 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Size of BufferedImage

Posted by Tim W on December 27, 2001 at 11:47 AM

Does anyone know of a quick way to approximate the size of a BufferedImage Object based on it's size and image type?

I've got some small images I'm trying to play with(96 x 192 pixels using 8 bit RGB color) but my system seems to think that they require much more memory than I think they should (The system resources tells me that each image requires between 2.5 and 3 M to create and hold in memory, which seems like a *lot* for an image of this size).

Thanks,

Tim W



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us