[magick-users] Generate PDFs?

Kent Kent at themagicm.com
Wed Nov 7 12:56:34 PST 2007


It's a little late for me to be changing tools ... besides, this is a 
fairly simple app, and 99% complete.  Each image consists of a few 
lines of text, a small bitmap image, and a couple of border lines.

This is a web app using PHP and MagickWand.  I'm trying to avoid 
shell-command calls because of possible permission problems.  Is 
there a MagickWand equivalent for the +matte and -colors options?

Thanks again -- Kent


> > not intentionally doing anything that calls for transparency data.
>
>Add +matte to remove any transparency from your image before you save it as
>PDF.  If your document is predominately line-art you probably want a tool
>that creates a vector-based rather than an image-based PDF.  Try iText for
>example.  If you want an image-based PDF you might be able to optimize the
>PDF by creating a colormapped PDF (use the -colors option).  Its likely that
>ImageMagick is not the ideal tool for your particular task.




   Kent Multer                  |\  /|
   Magic Metal Productions      | \/ |
   http://TheMagicM.com         |    |

  * Web developer/designer
  * Author, The Official Miva Web Scripting Book -- available on-line:
    http://www.amazon.com/exec/obidos/ISBN=0966103211/magicmetalproducA



More information about the Magick-users mailing list