[Digikam-users] how to resize image to a new and smaller formate -

jdd jdd at dodin.org
Mon Apr 9 14:03:17 BST 2012


Le 09/04/2012 01:28, Martin Kaspar a écrit :

> but this script does not run  - as target and sourcde are the same.
>
>
> for I in *.jpg ; do
>         convert -resize 800x600 $I $I ;
>         echo -n "." ;
>
>
> well - if all the  files are in one folder - how should i re-design
> the script.
> there have to be different names - ohterwise convert or bash will be

no error for me (cadre-resize.sh is the name of the script, I hold it 
in ~/bin and make it executable) - of course it convert in place, so 
execute it on a copy of the files:

$cadre-resize.sh
...................................

(one dot per file)

jdd



More information about the Digikam-users mailing list