You are not logged in.
Pages: 1
I am trying to make a custom action to reduce the size of jpg files.
This is not working.
convert -resize 800X450 %f.jpg %f.jpeg
Ubuntu-Mate 24.04
Offline
%f refers to the full filename (e.g. myfile.jpg). By appending ".jpg" to the filename input parameter, you are telling convert that the filename is "myfile.jpg.jpg" and that file doesn't exist. What you want to run is:
convert -resize 800X450 %f %f.jpeg
Note: that the resulting output file name will be "mytest.jpg.jpeg".
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 the help.
Ubuntu-Mate 24.04
Offline
Pages: 1
[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 522.84 KiB (Peak: 531.12 KiB) ]