[Typo3-dev] Cropping Function via Flash and IM
Carsten Bleicker
bleicker at boros.de
Thu Jan 27 19:10:28 CET 2005
Okay, its online in Alpha Version.
I would be happy if you can test it.
Title: Crop Images via Flash and IM
Ext-Key: boros_imagecrop
Carsten Bleicker schrieb:
> Hello everybody,
>
> atm i'm developing a be-extension wich allows you to
> crop different images via flash and IM.
> i want to display the "image to crop" in a flash movie
> wich holds some aspect-ratios presets etc. and a rectangle wich
> defines the area you want to crop. near everything works fine
> atm. but flash is only able to import external images with type=jpg.
> so i have to make a temp jpg-image to import it into flash.
> after cropping the original file i have to delete the temp file.
>
> i want to copy the image via t3 IM-functions:
>
> $gfxLib = t3lib_div::makeInstance('t3lib_stdGraphic');
> $gfxLib->init();
> $gfxLib->imageMagickConvert($this->file,'jpg');
>
> but the file is not created.
>
> near line 2071:
> $this->imageMagickExec($imagefile.$frame,$output,$command);
>
>
> the debug result of function vars:
>
> imagefile=/home/dev/public_html/dev.intern.de/fileadmin/user_upload/_temp_/Unbeschnitten.jpeg
>
> frame=
> output=typo3temp/pics/e496ad8b01.jpg
> command=-geometry 546x369! -colorspace RGB -quality 70
>
>
> anybody an idea why the tempfile is not created?
>
> thanks a lot
> carsten
More information about the TYPO3-dev
mailing list