[Typo3-dev] Cropping Function via Flash and IM

Ries van Twisk typo3 at rvt.dds.nl
Fri Jan 28 18:13:13 CET 2005


Carsten Bleicker wrote:

> Naming errors: modname 0 xMOD_tx_borosimagecrop_cm1


I think it's this part: xMOD_

I have read somehwere the the _ is dicouraged in the name.

Ries

>
> whats the meaning of this error and how can i fix it?
>
> 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
>
> _______________________________________________
> 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