Thanks for uploading your test file Test.pdf whick I've now successfully downloaded.
I can confirm that your file converts normally to a TIFF on my computer using the script I posted above. As the resulting file extracted at 300dpi is too large to upload to the forum, I've also converted it at 72DPI using this script:
Code: Select all
nconvert -dpi 72 -out tiff -c 3 -o Test_72DPI.tiff Test.pdf
This is the resulting TIFF file:
Your test file reproduces quite well at 72DPI, but very often conversion at a higher DPI is required to obtain a good quality image -- if you try converting your file at 300DPI and compare the TIFF images obtained you will notice that at the higher resolution the image is slightly sharper.
A bit more background information - I was using Windows XP when I had this all working correctly. I've since upgraded to Windows 7. I'm not sure if that makes a difference or not. Thanks again!
If you were using Windows XP x32, you must have have been using NConvert x32 and presumably had Ghostscript x32 installed -- Ghostscript normally installs to a folder 'GS' in the Programs folder. The test PDF image you uploaded was in fact created using an application that uses Ghostscript, as shown in the file properties in a PDF viewer: File > Properties (Ctrl - D).
Under Windows 7 -- presumably x64 -- you can use either NConvert x32 or x64 -- if you install x32 you require Ghostscript x32 which normally installs to Program Files (x86), and if you install x64 you require Ghostscript x64 which normally installs to Program Files. I'm running Windows 7 x64, so if it works on my computer it should work on yours...
The results you have previously obtained are unexplained but conceivably running NConvert with the wrong version of Ghostscript might result in only half the PDF image being extracted and the page orientation
defaulting to U.S. Letter size in portrait orientation
, as in the original image you uploaded -- I don't know without trying it!
If you're still unsure whether you have Ghostscript installed or not, you might also look in the Control Panel > Programs listing of installed software as it may be easier to recognise there.
You might also simply install both x32 and x64 Ghostscript versions, as I have on my computer, and then whichever version of NConvert you are using should automatically find the correct version of Ghostscript.