Grégory Joseph wrote:
Actually, let me re-precise this:
On May 29, 2007, at 23:10 , Grégory Joseph wrote:
Today I had a closer look at a collection of java image filers [1],
and since these are mostly simple beans, it would seem pretty
trivial at first sight to use content2bean to configure them, etc.
However, the main question will still be where/how to configure
them, does it make sense to have the settings (in the dialogs or in
module/config), etc etc.
These could be "easily" configured in the module's config and refered
to in dialogs, for instance (still with a bunch of questions
regarding references etc) The major difference with the cropping/
resize one here is that the end user (editor) definitely needs
control on the cropping zone of the image, for instance, while it is
much less obvious she needs control on the text of the watermark or
how the image is turned into black and white. Hence my original
reserves about making a "generic" imaging module.
g
Just a comment from the peanut gallery on the naming of this module.
I think 'graphics' or 'magnolia-graphics-module' would be an excellent
name for a module that encapsulates a set of core graphics functions
like scaling, cropping and translation (flip, rotate). Text and
watermark functions could be abstracted as drawing on the image and
image merge so they can be leveraged in other modules like say a third
party statistics/charting module.
I'd like to see this module be a base module others can be built against.
--David
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------