Alternatives to ImageMagick for PDF downsizing

Posted by Craig Coston on Stack Overflow See other posts from Stack Overflow or by Craig Coston
Published on 2011-03-14T04:15:12Z Indexed on 2011/03/14 16:10 UTC
Read the original article Hit count: 325

Filed under:
|
|

Having an issue with some PDF files not displaying properly in our iPad app. I have come to the conclusion that we are needing to standardize by "converting" PDF to PDF. I have successfully processed this using ImageMagick to convert the PDF to PNG (resized), and then pushing the PNG(s) back into a PDF. However, something within ImageMagick is making photos within PDFs display wrong. Same issue just converting a JPG or other graphic to PDF in ImageMagick. I solved that by taking the output of the converted ImageMagick file and converting it again using GD to PNG, then pushing it through our PDF converter.

So my question is this: What other PHP workflows would work with this, other than using ImageMagick for the conversion back to PDF? We are not opposed to a paid solution, we just need something that works. Our server runs centOS.

© Stack Overflow or respective owner

Related posts about php

Related posts about linux