Can't get it to work with GIF Files
Very happy with JPG (BMP and PNG) files. Can't seem to work/recognize GIF files.
add some package and fixing Boolean.toString
fyi : these were two modifications I had to change
to perform in order for jsp using ImageInfo to compile.
1. add some package - arguable
2. replace Boolean.toString()
< package net.freshmeat;
< printLine(1, "Progressive: ", ii.isProgressive() + "");
> printLine(1, "Progressive: ", Boolean.toString(ii.isProgressive()));
> ImageInfo IS a very handy utility.
> Have you ever thought about refactoring
> it so it will be easier to use and
> maintenance? Using factory/builder
> pattern to return a info class; if
> format not supported then return null or
> throw an exception.
ImageInfo has grown quite a bit. It started out as a class to extract width and height from GIF, PNG and JPG. Now it can extract more from more formats, and in order for it to grow even further it would certainly have to be refactored. However, I don't intend to write a 'real' meta data extraction library right now, as useful as that would be. Someone would have to start a new project for that. ImageInfo might be a good basis for such a library.
ImageInfo IS a very handy utility.
Have you ever thought about refactoring it so it will be easier to use and maintenance? Using factory/builder pattern to return a info class; if format not supported then return null or throw an exception.
An open, cross-platform journaling program.
A scientific plotting package.