This is for when using ImageMagick to create thumbnail of only the first...

... page of an pdf.

Modified source to look like /path/filename.pdf[0] instead of /path/filename.pdf.

Doesn't seem to have negative impact on other file formats.