#!/bin/bash

# ImageMagick

# switched to cpdf-bin


for file in *.pdf; do
  echo $file
  convert -colorspace RGB -interlace none -density 300x300 -quality 100 $file ${file/pdf/jpg}
done
