Convert Image into BufferedImage Need Help!!

Hi All;

String newImagePath = "C:\temp\abc.bmp"

File filePath = new File(newImagePath);

Image watermarkImg = Toolkit.getDefaultToolkit().getImage(filePath.toURL());

Any how i want convert this file in the "newImagePath " to a BufferedImage.

I tried to create a Image object and then convert into BufferedImage but it didn't work.

Pls give your suggessions

Thanks

madumm

[425 byte] By [madumma] at [2007-11-27 2:08:50]
# 1
Hi!You see it is a forum about Generics.You better ask in proper one.
_Dima_a at 2007-7-12 1:58:35 > top of Java-index,Core,Core APIs...