1 |
meino.cramer@×××.de schrieb: |
2 |
> Hi, |
3 |
> |
4 |
> does anyone know a trick/package, which allows my to |
5 |
> convert the pages of a pdf file to images via the commandline |
6 |
> (useable from a script). |
7 |
> |
8 |
> I have a/LOT/ of datasheets of electronics and want to make |
9 |
> something like a "pdf gallery" to find pdfs faster... |
10 |
> |
11 |
> Thanks a lot for any help in advance! |
12 |
> Kind regards, |
13 |
> Meino Cramer |
14 |
> |
15 |
|
16 |
You can use pdftopnm (app-text/poppler) to generate bitmap images from |
17 |
your pdfs. Then you can use pnmtopng (media-libs/netpbm) to create pngs |
18 |
from them. I suppose there are also tools for creating jpegs and such |
19 |
alike but I haven't looked yet. |
20 |
|
21 |
You will probably need some tweaking to get optimal results but the |
22 |
process should be straight forward. |
23 |
|
24 |
Make sure you have enough disk space spare. Those pnms can be quiet huge. |