Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Trying to extract images from a PDF
- Date: Sat, 14 Jul 2007 19:00:33 +0200
- From: Godwin Stewart <gstewart@example.com>
- Subject: Re: [tlug] Trying to extract images from a PDF
- References: <7d27112b0707140727rd9baf63gba2cd5f17b3aa998@mail.gmail.com>
On Sat, 14 Jul 2007 23:27:50 +0900, "Dave Gutteridge" <ebisudave@example.com> wrote: > I've tried tkpdf, and pdftohtml, but while I've been able to break a PDF > file into small PDF files containing single pages, I haven't been able to > turn them into images like JPG or PNG. GhostScript does this perfectly well. There are 2 ways to do this: 1) You can use external tools to process the original PDF and leave you with a single-page PDF containing only the page of which you want an image and then: $ gs -dBATCH -dNOPAUSE -r300 -sDEVICE=pngalpha -sOutputFile=whatever.png SinglePagePDFFile.pdf 2) You can have GhostScript process the entire original PDF file and generate an individual .png file for each page: $ gs -dBATCH -dNOPAUSE -r300 -sDEVICE=pngalpha -sOutputFile=whatever%d.png OriginalPDFFile.pdf Take a look at the man page for 'gs' for the meaning of the various parts of these incantations. -- G. Stewart - gstewart@example.com The new Linux anthem will be "He's an idiot, but he's ok", as performed by Monthy Python. You'd better start practicing. -- Linus Torvalds, announcing another kernel patchAttachment: pgpw0jmm9IRQB.pgp
Description: PGP signature
- Follow-Ups:
- Re: [tlug] Trying to extract images from a PDF
- From: Dave M G
- Re: [tlug] Trying to extract images from a PDF
- From: NOKUBI Takatsugu
- References:
- [tlug] Trying to extract images from a PDF
- From: Dave Gutteridge
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Trying to extract images from a PDF
- Next by Date: [tlug] scim-panel-gtk segfault
- Previous by thread: Re: [tlug] Trying to extract images from a PDF
- Next by thread: Re: [tlug] Trying to extract images from a PDF
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links