0

Is there a way to convert a common UTF-8 encoded PDF to a JPG without using ImageMagick or Ghostscript?

The reason I'm asking is, that I have to replace or "simply" double layer a small part (date) of a PDF document. I don't want to install all that stuff for it and wonder if there is a different way to do it.

Sadly Google couldn't give me an anwser so I decided to give SU a chance.

  • 3
    Why is it migrated here? The question is about PHP, so it belong on stackoverflow. – Victor Marchuk Feb 23 '16 at 9:15
0

If it is not to be done dynamically you can do that "by hand". Every good PDF Printer does that. For example Bullzip or PDF24. If you want to do it in a script, maybe you can also use one of the various online converters like http://pdf2jpg.net/ for instance.

0

If you want to edit the resulting image file, you will need an image editor. If you are on a UNIX platform, that will probably be gimp.

If so, you're in luck, gimp can handle PDFs, just open the file directly in gimp, edit it and save as you wish.

0

If you're using Mac OS X, just open it in Preview and then use Save As to export it as a JPEG. If you're not on OS X, perhaps you could edit your question to provide a lot more detail about your environment -- what kind of Unix are you using, what distribution, what packages do you have installed, and so on.

0

You can use GIMP, Adobe Photoshop, Adobe Acrobat ( > Save as JPG, JPEG). Or you can use the Online Converter as Stefan mentioned if the document is not private, sensitive.

  • 2
    Listing tools that can help in the process doesn't really explain how to accomplish what was asked. Can you expand your answer, or at least describe what makes the mentioned tools better for the task than random Google hits? Good guidance on recommending products here: meta.superuser.com/questions/5329/…. Thanks. – fixer1234 Jan 10 '17 at 17:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.