Generate JPEG thumbnails from PDF files.