Today I was preparing a lecture for Thursday (I guess) and I found very illustrative images from a PDF book but I got some problems for extracting them from the book.
- Acroread (for Linux) didn't keep the image in the clipboard
- The "convert" tool (from Imagemagick) by default, made a poor conversion from PDF to any format
I searched in Internet and I found these two links that gave me a clue
- http://ardvaark.net/useful-pdf-imagemagick-recipes
- http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=11476
For my needs "convert -density 300
pdffile.pdf image.png" did the trick. The
image.png file gave me an excellent resolution. From that point, I used
gimp for cropping the region that I need.
No comments:
Post a Comment