Pdf2png

Aus Programmers Guide

(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „== pdf2png == <source lang="bash"> #!/bin/bash find /var/www/ -name "*.pdf" | while read FILENAME; do md5name=$(echo -n $FILENAME|md5sum|cut -d " " -f1) conv…“)
Zeile 1: Zeile 1:
-
== pdf2png ==
+
== pdf2png mit Imagemagick<br> ==
 +
 
<source lang="bash">
<source lang="bash">
#!/bin/bash
#!/bin/bash

Version vom 18:13, 6. Sep. 2010

pdf2png mit Imagemagick

#!/bin/bash
 
find /var/www/ -name "*.pdf" | while read FILENAME;
do
 
 
md5name=$(echo -n $FILENAME|md5sum|cut -d " "  -f1)
 
convert "$FILENAME[0]" "$md5name.png"
 
done
Persönliche Werkzeuge