[Typo3-dev] Image Processing API - getting rid of IM

Michael Stucki mundaun at gmx.ch
Fri Sep 10 00:59:15 CEST 2004


Daniel Brün wrote:

> We have come up with the idea to define an interface for an
> image-processing class. This class can then be implemented using IM, or
> another class using GraphicsMagic or some other library.

After reading this thread and being reminded that there is a _big_ chance
that GD will be able to do all needed graphic operations one day I am not
sure what is the best solution.

I think most of you agree that an enhanced GD might be the solution, mainly
because almost every web hoster/PHP distribution provides GD support out of
the box but also because we all love ImageMagick so much :-)

But I am still wondering about the speed of these tools. I always thought
that IM is faster than GD - if this is the case then this might be a good
reason to start writing the API. If not, then the API will probably be a
simple class of GD function calls...

I think the best strategy is to start with some benchmark script that
compares the speed of recent GD/ImageMagick/GraphicsMagick versions and
lets the user vote about the quality of the generated images. After that we
can start further discussion. Is anybody willing to write such a script and
collect some feedbacks?

Anyway, we should definitely come up with a perfect solution that gives good
quality at a an arguable performance. And we should stop(!!) recommending
old programs and libraries because we have to realise that these are no
longer supported by their authors.

Besides that I would like to implement support for GraphicsMagick as well as
ImageMagick6 (without needing the wrapper script) as soon as possible.
That should be easy.

With kind regards
- michael
-- 
Want support? Please read the list rules first: http://typo3.org/1438.0.html




More information about the TYPO3-dev mailing list