Hi all,

Imaging uses a Map<String, Objet> to pass parameters to the writers and
parsers. This isn't very convenient, because it's not immediately
obvious what parameters are available and what values are expected.

In constrast, javax.imageio has a hierarchy of parameter classes
(IIOParam, ImageReadParam, ImageWriteParam, JPEGImageReadParam, etc) and
I think it's a good idea.

The Map<String, Objet> could be replaced by an ImagingParams class, and
each format would subclass it as needed. I don't know if it's worth
splitting the class to separate the read and write parameters.

What do you think?

Emmanuel Bourg

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to