You are not logged in.
Pages: 1
I have this as a custom action.
It is not quite working right.
convert -resize 1024X768 %f %fsmaller.png
I need the original file name with smaller appended to it.
small_OA_How_Food_Portions.pngsmaller.png
I do not need the "smaller.png" part at the end.
Thanks.
Last edited by fixit (2022-09-07 21:12:05)
Ubuntu-Mate 24.04
Offline
I can't get this to fit inline, so you'll need to create a script with the following content:
#!/bin/bash
convert -resize 1024X768 $1 ${1%.*}smaller.${1#*.}
...and make the script executable.
Then in the custom action, make the command "/path/to/script %f" where /path/to/script is the full path and script name.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thanks for your help.
Ubuntu-Mate 24.04
Offline
Pages: 1
[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 519.33 KiB (Peak: 520.17 KiB) ]