The script generally works as I want, but it is very slow, and one line that appears problematic is in the cropImage handler:
set theData to theImage's TIFFRepresentation()
I looked at the TIFFRepresentation documentation and it contains the following:
So, the thought occurred to me that converting a PDF to a TIFF may simply take some time. However, I wondered if a forum member might look at that handler to see if anything is amiss. Thanks for the help.
I’m little curious why do you like to convert PDF to TIFF.
The greatest point why PDF is superior to many other format is… it include vector format.
If the PDF data include vector data it will be lost in the TIFF format (Raster)
If that is not the case, I would try Core Image instead. (Its fast)