Hi Ulf Dittmer ,
i have tried it out in that way.here is my code:
import java.awt.*;
import java.io.*;
import java.awt.event.*;
import java.awt.image.*;
import java.awt.geom.*;
import java.awt.font.*;
import javax.swing.*;
import javax.imageio.*;
public class ReadGGif{
public static void main(
String s[]) throws Exception {
File f=new File("D:/Myapps/read/4843a349.gif");
BufferedImage bufferedImage=ImageIO.read(f);
Raster raster = bufferedImage.getData();
DataBuffer dbuffer = raster.getDataBuffer();
int size = dbuffer.getSize();
System.out.println("Size of the File:"+size);
System.out.println("Data Type:"+dbuffer.getDataType());
System.out.println("Get Element:"+dbuffer.getElem(0, 0));
}
}
but my intention is put that data that is read from the .gif file into .
doc file!
can you tell me what can i do inorder to achieve that??--it is some what necessary!
Regards,
sreelakshmi.