I just did exactly the same things you did just now to see what's wrong. You know what happened? Everything worked as expected. ImageReaderFactory.Make() returns a fine JPEGImageReader and verifySignature() returns true.
So, what version of FOP do you use? I was using the version from CVS which in this part of FOP should be identical with version 0.20.5rc2. On 10.04.2003 01:40:32 Steve Vanspall wrote: > Ok I guess should explain, > > After much searching the only thing I could find to do what I want if FOP. > > I want to be able to read in either a gif or a jpeg and check the dimensions > of it. > > AWT has to much overhead because it attempts to renderthe image. Whereas FOP > seems just to reader the header information. > > As I can't guarantee that my application will run using JDK 1.4 I can't rely > on JavaImage io classes. > > attached is a jpeg that wont read, > > I then went ahead and converted a working gif into a jpeg using Photoshop. > It doesn't work either. > > If anyone has another suggestion to do what I want to do, they're mor than > welcome. > > I know it's only using a small part of fop, and not using it for what fop > was designed for, but it does work, If I can get it to read a jpeg. Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
