[OS X TeX] ImageMagick (Intel) Glitch ?

Ross Moore ross at ics.mq.edu.au
Fri Jul 21 02:14:14 CEST 2006


Hi Jan, Kyle, Wendy and others

On 21/07/2006, at 3:55 AM, Jan Anderssen wrote:

>
>>> If I understand the output below, it appears that ImageMagick was
>>> installed, but the libraries (?) required for converting certain  
>>> file
>>> formats were not.  For example, I can see the ImageMagick binary  
>>> file
>>> "convert", but using convert to change PDF to PNG or TIFF to PNG  
>>> gives
>>> me a error - "no decode delegate for this file format".

  convert  is supposed to use Ghostscript for anything involving PDF
or PS or EPS formats. You may need the  gs-nox11  version of it.
I'd guess that this needs to be installed before  ImageMagick  so that
the correct associations can be made. (GW may confirm or deny this. :-)

Alternatives to ImageMagick are:

  1.  GraphicConverter handles PDFs, once you have paid the licence fee.
      (Earlier versions also required Ghostscript --- I'm not sure  
whether
       the latest ones do or not.)

  2.  Do the conversions directly with Ghostscript;
      e.g.
        gs-nox11 -q -dNOPAUSE -dBATCH -sDEVICE=png16m -r72 - 
dTextAlphaBits=4 -sOutputFile=slide.png slide.pdf

       converts  slide.pdf  to  slide.png  with a resolution of 72dpi  
and colour-space
       for 16 million colours. It also anti-aliases any text that is  
in the image.

     For pdfTeX-typeset material this does an OK job, especially if  
it's mainly
     a monochrome image.
     For web-pages however, it's even better to use  -r144 and setup  
the <IMG> tag
     to show the .png at exactly half its natural height and width.


>>> KylePro:/usr/local/bin kyle$ convert ~/Desktop/CtoDeffects.pdf ~/ 
>>> Desktop/CtoDeffects.png
>>> convert: no decode delegate for this image format `/Users/kyle/ 
>>> Desktop/CtoDeffects.pdf'.
>>> convert: missing an image filename `/Users/kyle/Desktop/ 
>>> CtoDeffects.png'.
>
> I have the same problem here with ImageMagic installed from the i- 
> Installer package on a fresh 10.4.7 MacBook. Haven't had time to  
> further look into it, so any tips would be greatly appreciated.

Does the above help at all?

> Jan


Cheers,

	Ross

------------------------------------------------------------------------
Ross Moore                                         ross at maths.mq.edu.au
Mathematics Department                             office: E7A-419
Macquarie University                               tel: +61 +2 9850 8955
Sydney, Australia  2109                            fax: +61 +2 9850 8114
------------------------------------------------------------------------


------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list