Kees Jongenburger wrote:
> > I think that the irritating default jpg conversion is introduced because JAI
> > lacks gif writing support, which is easy to add to MMBase. The default
> > should be the format of the image itself.

> Yes the current image conversion laks a lot of functionality
> You migh want to autoconvert when people upload bmp or other type of
> less supported
> image formats. An other problem is the image convertion that happens
> in the page and not upon request of the image. It would also be nice
> to be able to request the size of an image.

The first issue may be solved by the field-types project, you can plug in
that functionality in the setValue of the byte-array field.

The second issue also seems solvable, I have looked into that already. You
could use the features of image magick, or perhaps use the ImageInfo class
that someone offered already. It's relatively simply, and on my 'todo' for
1.8.

Michiel



-- 
Michiel Meeuwissen                  mihxil'
Mediacentrum 140 H'sum                [] ()
+31 (0)35 6772979         nl_NL eo_XX en_US




Reply via email to