[magick-users] ImageMagick ver 6.3.5-Q16 WinXP - PDF support in IMDisplay?

buralex at gmail.com buralex at gmail.com
Wed Aug 29 23:44:30 PDT 2007


I've been beta-testing a program which relies on driver support from 
novaPDF.

For some reason when novaPDF finished creating the PDF file it was 
attempting to use IMDisplay to show it.
The error message received is:
---------------------------
IMDisplay
---------------------------
IMDisplayDoc function [DoReadImage] reported an error.
imdisplay.exe: Postscript delegate failed `C:\Temp\Random note.pdf'
---------------------------
OK  
---------------------------

I had never tried to display a PDF file with IMDisplay and wasn't sure 
why it was even getting involved.
Eventually I tracked it down to these Registry keys:

    * [HKEY_CLASSES_ROOT\.pdf]
    * @="Magick.PDFFile"
    * [HKEY_CLASSES_ROOT\.pdf\OpenWithProgids\Magick.PDFFile]

Removing those made the beta program open the created PDF file with 
Adobe Acrobat Reader.
Note: even before deleting those keys double-clicking a PDF file opens 
it in Acrobat - I'd just never noticed that IMDisplay had been added to 
the OpenWith ... context menu entry.

Trying to figure out what was going on I d/l'd the latest (was: 6.3.5-3 
now: 6.3.5-6) and again replied yes in install dialog to question about 
using IMDisplay for supported graphics file extensions (I don't remember 
the exact wording of the option).

Amongst other four other new keys, the installer put back the keys I'd 
manually deleted:

   1. HKEY_CLASSES_ROOT\.avs\OpenWithProgids
   2. HKEY_CLASSES_ROOT\.avs\OpenWithProgids\Magick.AVSFile
   3. HKEY_CLASSES_ROOT\.pdf    @    "Magick.PDFFile"
   4. HKEY_CLASSES_ROOT\.pdf\OpenWithProgids\Magick.PDFFile
   5. HKEY_CLASSES_ROOT\.tif\OpenWithProgids
   6. HKEY_CLASSES_ROOT\.tif\OpenWithProgids\Magick.TIFFFile

Now the beta program errors out in the same way it did before and 
attempting to open a PDF file directly from IMDisplay gives the above 
error as well.

Question:

   1. Can IMDisplay support PDF display?
   2. Is there something (Postscript delegate-(?) ) I can install that
      will allow it to support PDF display?
          * If not can installer be changed so it doesn't "screw up" PDF
            file support?

Regards ... Alec -- buralex-gmail
-- 



More information about the Magick-users mailing list