Hi there, I was wondering if anybody else has this problem.
If I use either ImageReaderFactory.Make(null, inputstream) and actually give it the input stream of a file that I know is a JPEG, it return null. If I try reader = new JPEGReader() reader.verifySignature(null, new BufferedInputStream(FileInputStream)); it returns false, indicating that the input doesn't match the epected input of a JPEG File If I try the same with the GIFReader adn a GIF File, ti works fine ImageReaderFactory.Make(null, inputstream) where inputstream is that of a gif file return a GIfReader reader = new GIFReader() reader.verifiySignature(null, new BufferedInputStream(new FileInputStream(gifFile))); return true I can then procedd to get the dimensions of the image Can anyone suggest what I might be doing wrong, or a workaroudn for this problem Regards Steve --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
