Greetings to the community.
On this occasion I draw on your wisdom to solve the following:
I have a button to prepare my images for web 800px with these parameters.
Command: %COMMANDER_PATH%\Tools\IrfanView\i_view32.exe
Param: %P /filelist=%L /resize_long=800 /resample /aspectratio /jpgq=75 /silent /convert=%T\*.jpg
Dir Ini: %COMMANDER_PATH%\Tools\IrfanView\
Problem:
I want to migrate to ImageMagick to do the same task and also add watermark in the same process.
commad for prepare a photo for the web:
convert selectimages.jpg -resize 800x600 -strip -quality 50 -interlace line imageweb.jpg
command for put a text on an image:
convert -size 150x50 xc:none -matte -pointsize 20 -fill #ffffff80 -draw "text 10,30 'My copyright'" dicosoft:- | composite -tile - selectimages.jpg resultat.jpg
Any help for create one botton for all task ?
Thanks in advance.
Command line parameters for ImageMagick in button
Moderators: Hacker, petermad, Stefan2, white
Re: Command line parameters for ImageMagick in button
dicosoft wrote:Greetings to the community.
On this occasion I draw on your wisdom to solve the following:
I have a button to prepare my images for web 800px with these parameters.
Command: %COMMANDER_PATH%\Tools\IrfanView\i_view32.exe
Param: %P /filelist=%L /resize_long=800 /resample /aspectratio /jpgq=75 /silent /convert=%T\*.jpg
Dir Ini: %COMMANDER_PATH%\Tools\IrfanView\
Problem:
I want to migrate to ImageMagick to do the same task and also add watermark in the same process.
commad for prepare a photo for the web:
convert selectimages.jpg -resize 800x600 -strip -quality 50 -interlace line imageweb.jpg
command for put a text on an image:
convert -size 150x50 xc:none -matte -pointsize 20 -fill #ffffff80 -draw "text 10,30 'My copyright'" dicosoft:- | composite -tile - selectimages.jpg resultat.jpg
Any help for create one botton for all task ?
Thanks in advance.
Solved
Command: %COMMANDER_PATH%\TCBL\TCBL.exe
Param: %L convert -resize 640 -quality 50%%%% -pointsize 60 -fill red -gravity south ^ -annotate +0+0 "Dicosoft ®" $f %T$z.$e
Dir Ini: %COMMANDER_PATH%\Tools\ImageMagick\
Thanks
