Nabnd Andreas, > > SIZE=`identify -format '%wx%h' $i` > > -->600x400 > > > # Zieldateinamen festlegen > > DESTNAME=`basename $i .jpg`".png" > > convert -size $SIZE xc:none -draw "roundRectangle 0,0 $SIZE, > > 15,15" $i > > meine tests haben gezeigt wenn ich > -draw "roundRectangle 0,0 600,400 15,15" nutze gehts > > probiers mal ohne statt x ein komma und das komma dahinter weg
nun klappts. Und im nach hinein betrachtet auch vollkommen logisch. Danke! fertiges Ergebnis: #!/bin/bash echo "add rount transparent round edges to image an convert to png" for i in *.jpg; do echo "processing $i ..." HSIZE=`identify -format '%h' $i` WSIZE=`identify -format '%w' $i` SIZE=`identify -format '%wx%h' $i` DESTNAME=`basename $i .jpg`".png" convert -size $SIZE xc:none -draw "roundRectangle 0,0 $WSIZE,$HSIZE 15,15" $i -compose SrcIn -composite $DESTNAME done echo "done." Gruß Tilo -- Tilo Wetzel, Dresden http://www.room6675.net http://linkblog.elline.de _______________________________________________ Lug-dd maillist - [email protected] https://ssl.schlittermann.de/mailman/listinfo/lug-dd
