Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Image versus BufferedImage

Reply
Thread Tools

Image versus BufferedImage

 
 
Crono
Guest
Posts: n/a
 
      09-12-2006
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).

 
Reply With Quote
 
 
 
 
Knute Johnson
Guest
Posts: n/a
 
      09-12-2006
Crono wrote:
> 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...
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Image to BufferedImage Martin Thomas Java 6 03-19-2011 05:10 AM
Re: Mozilla versus IE versus Opera versus Safari Peter Potamus the Purple Hippo Firefox 0 05-08-2008 12:56 PM
equal? versus eql? versus == versus === verus <=> Paul Butcher Ruby 12 11-28-2007 06:06 AM
Converting a BufferedImage to an Image for the J2ME Wireless Toolkit Aimee J Java 1 07-18-2004 04:29 AM
DirectByteBuffer and BufferedImage for image acquisition Peter Szymanski Java 0 07-09-2003 12:29 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57