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

No members online now.

Forum statistics

Threads
474,262
Messages
2,571,056
Members
48,769
Latest member
Clifft

Latest Threads

Top