[Typo3-dev] ImageMagick V6
Michiel van Leening
leening at saurus.nl
Mon Jun 7 21:05:17 CEST 2004
Hi,
Has anyone given the imagick php extension any thought??
http://pecl.php.net/package/imagick
No more commandline hassles....
On Sun, 2004-06-06 at 20:28, Michael Stucki wrote:
> Hi all,
>
> I just tried to make ImageMagick version 6+ work with TYPO3.
>
> These guys are so mad, they have simply changed the some parts of their
> commandline API! Although most things still work, there are problems with
> composite which (in our case) always uses more than two files as paramters.
>
> In IM4 and IM5, the command for combining two images was:
>
> composite -compose over <input> <overlay> <mask> <output>
>
> (Of course, IM4 uses the filename "combine" instead of "composite".)
>
> Although this page [1] sais that composite was not affected by the commandline
> changes, this does not work anymore!
>
> After fiddling around with that for a while, I found out that the first two
> image parameters have to be switched now! So the IM6 command is now:
>
> composite -compose over <overlay> <input> <mask> <output>
>
> The perfect solution would be add some new options to $TYPO3CONF and add a fix
> for this issue in t3lib/class.t3lib_stdgraphic.php in the function called
> "combineExec".
>
> However, let's first check if this is really the only issue. So I ask you to
> check if your ImageMagick version 6.x works with the trick I have just sent
> to the userlist (see quote below).
>
> In case you have IM6 somewhere lying around, please let me know if this works
> for you. Thanks!
>
> Cheers - michael
>
> ... I know we all like ImageMagick so much, don't we? :-)
>
> [1] http://www.mstucki.net/files/typo3/im6_wrapper/
>
> --- Forwarded message ---
>
> > I am using IM in Typo3, can IM 6.0.1 be used in Typo3 ? I saw in an other
> > thread it isn't, did I miss something or did you use command line or the
> > graphical interface.
>
> It works at least partly but still not perfect. The problem is that the IM
> developers have changed the commandline API which means that the composite
> commands will fail (although the IM developers once said that composite was
> not affected by these changes [1]).
>
> So here we go: I have just written a wrapper that can be used to execute
> ImageMagick 6 with no more problems (at least, I see no more for the
> moment).
>
> - Go to my site [2] and fetch the composite_wrapper from that place
> - Put the file to the directory where 'composite' is installed
> - Enter the Install Tool, section "4. All configuration" and change the
> value of im_combine_filename to "composite_wrapper".
>
> That's it! If you still have problems or just like to use my recommended
> settings, you should add the lines from localconf_im6.php to the end of
> typo3conf/localconf.php.
>
> I hope this works for you, please give me a quick feedback.
>
> Regards - michael
>
> [1] http://www.cit.gu.edu.au/~anthony/graphics/imagick6/cmdline/
> [2] http://www.mstucki.net/files/typo3/im6_wrapper/
> --- Forwarded message ---
>
> _______________________________________________
> Typo3-dev mailing list
> Typo3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
--
Met vriendelijke groeten,
Michiel van Leening
---------------------------------------------------------------
Saurus Internet - http://www.saurus.nl/ - info at saurus.nl
Vestesingel 8, 9408 CA - Assen, The Netherlands
tel: +31 (0)592.461.467 - fax: +31 (0)84.86.88.007
Michiel van Leening - Internet Application Developer
leening at saurus.nl - gsm: +31 (0)65.57.12.693 - ICQ#51566230
Registered with the Linux Counter. ID #39463
---------------------------------------------------------------
A halted retreat
Is nerve-wracking and dangerous.
To retain people as men -- and maidservants
Brings good fortune.
More information about the TYPO3-dev
mailing list