[TYPO3-dev] ImageMagick - you'll never get it right!

Elias Humbolt elias at asb-online.at
Sat Apr 29 01:43:55 CEST 2006


I am refering to this: http://bugs.typo3.org/view.php?id=1188

Here a summary:
* Source of the imagemagick problem is not that imagemagick changed the way 
the interpret mask files (no negation there)!
* What happened is that some command line arguments traded places (which makes 
it look like mask files need to be negated).
* The logical solution would be to accommodate this change in the order of 
arguments in the function that calls imagemagick (easy?)!
* BUT instead the T3 does negate the mask.
* AND it does not negate the mask in just one place - in the function which 
calls imagemagick - NO, it does it in every function that uses the 
imagemagick-calling function (crazy, what a huge overhead in code and 
processing time).

Moreover, the 123-installer called the imagemagick-calling function directly 
not through higher level functions like the rest of typo3. Therefore the 
image processing tests never reflected, what T3 was actually doing.
* At least that seems to be dealt with now (partly at least. I had some 
trouble specifying im6 for my im 6.0.6. With im5 it seems to work)

Concluding:
This part of T3 is extremely messy!!!!!! It needs a clean-up!!!! NOW!!!! A 
real one!!!!

This is nothing worth draging on to the next version!!!! It should have been 
dealt with in T3 4.0.0 already!!!

Even if we have to break some backwards compatibility. There are nearly no 
modules converted to T3 4.0.0 and the new extension management yet anyhow. We 
just need to include a warning in the upgrading instructions! But I am pretty 
sure, I can make this one even backward compatible!

I am willing to do all the work, if the people in charge agree, this needs to 
be done!!!!

Elias 

On Thursday 20 April 2006 08:54, Markus bertheau wrote:
> So what are you referring to? It's interesting after all, and I'm only
> a few weeks on this list now.
>
> Markus
>
> 2006/4/20, Elias Humbolt <elias at asb-online.at>:
> > No, I am not refering to that.
> >
> > On Wednesday 19 April 2006 13:41, Michael Stucki wrote:
> > > Hi Elias,
> > >
> > > to make a long story short: I assume you are referring to this bug:
> > > http://bugs.typo3.org/view.php?id=1188
> > >
> > > I can't remember the details but remember that Bernhard and you had
> > > different views about this bug. Since Bernhard has spent a huge amount
> > > of time on the stdGraphic class (making truecolor-images possible) I
> > > have left the solution open to him. And even you have confirmed that it
> > > is a working solution (though you didn't like this solution).
> > >
> > > However, once again I would like to point out that we had six (6!!)
> > > preview versions where you could have had a look at this. Of course it
> > > is easy to come back after a few months to say that nobody but you is
> > > having any clue about that.
> > >
> > > Please reopen the bug and discuss with Bernhard.
> > >
> > > - michael
> >
> > _______________________________________________
> > TYPO3-dev mailing list
> > TYPO3-dev at lists.netfielders.de
> > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
>
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev




More information about the TYPO3-dev mailing list