Image versus BufferedImage

C

Crono

Are there any major differences between these two Objects, or does
BufferedImage just have the extra data buffer. Is one faster than the
other? Which one would be faster/more efficient for a game? I read
somewhere that a BufferedImage is better for "unchanging images that
take a long time to create", so I'm leaning more towards just a regular
Image for a game (although any pros/cons and input would be
appreciated).
 
K

Knute Johnson

Crono said:
Are there any major differences between these two Objects, or does
BufferedImage just have the extra data buffer. Is one faster than the
other? Which one would be faster/more efficient for a game? I read
somewhere that a BufferedImage is better for "unchanging images that
take a long time to create", so I'm leaning more towards just a regular
Image for a game (although any pros/cons and input would be
appreciated).

BufferedImage has considerably more capabilities than Image. If you
don't need any of those capabilities then you can use Image, otherwise
use BufferedImage.

knute...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top