Projects / ImageInfo / Comments

Comments for ImageInfo

12 May 2006 16:38 tjhsiao

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.

Any idea?

Thanks.

26 May 2004 21:21 vvitayau

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()

1d0

< package net.freshmeat;

1071c1070

< printLine(1, "Progressive: ", ii.isProgressive() + "");

---

> printLine(1, "Progressive: ", Boolean.toString(ii.isProgressive()));

11 Feb 2003 23:17 mschmidt

Re: Refactoring

> 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.

Marco

09 Feb 2003 21:33 ajaxliang

Refactoring
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.

Screenshot

Project Spotlight

ReciJournal

An open, cross-platform journaling program.

Screenshot

Project Spotlight

Veusz

A scientific plotting package.