Hi !!!

I've another question !! 
Is it possible to draw an animated gif on a bufferedImage ? I've tried :

Image im = new ImageIcon("test.gif").getImage() ;  // test.gif is an animated 
gif
...

BufferedImage bi = new BufferedImage(im.getWidth(null), im.getHeigth(null), 
BufferedImage.type_int_ARGB);
Graphics g = bi.getGraphicss();
g.drawImage(im, 0,0,null);
g.dispose();
...

// method from JPanel
public void paintComponent(Graphics g)
{
       g.drawImage(bi, 0,0, null);
}

It doesn't seem to work  :(
[Message sent by forum member 'karys' (karys)]

http://forums.java.net/jive/thread.jspa?messageID=300130

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to