Blog

Posted 2008/05/26

Making PNG thumbnails for PDF documents

for pdf in `ls *.pdf `; do 
  png=`echo $pdf | sed -e "s/\.pdf/\.png/"`; 
  convert -density 300x300 -resize 200x200 $pdf $png;
done