Hi Guys,
I just spent two hours trying to figure out how to do this.. I failed!
Got this at least:
@nodeselect
dopusrt.exe /cmd Image CONVERT=jpg PRESERVEASPECTRATIO HERE PRESERVEDATE WIDTH=640 height=480 AS={file|noext}_640x480.jpg
I just want to create a function, that creates a new image-file with
different dimensions and another filename.
My command only works for one single selected file, if more files are
selected, nothing happens or dopus trys to write over and over again
into the firstly created new image.. o(
I cannot avoid using dopusrt, as {file|noext}.. is not available for
inline commands. The Image-Command does indeed provide a keyword
to specify a new filename, but I could not get it to just use the filename
without extension, so I could have combined it with my custom filename-ending.
Also tried the addsuffix keyword, which appends a "-small" or "-medium" to the filename and then to rename this stuff
into "..640x480", but here again I wasn't able to deliver the rename command
the "newly" created image-filenames..
So I want these images..
Image_A.jpg
Image_B.jpg
Image_C.jpg
to get downsized into new files with following name:
Image_A_640x480.jpg
Image_B_640x480.jpg
Image_C_640x480.jpg
Any ideas.. ?!
Thanks,
Rob.