Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PieceOf.pdf to *.png

21 views
Skip to first unread message

Unknown

unread,
Nov 15, 2012, 12:36:57 PM11/15/12
to

With a previous old/krnl2.4* distribution I used to be
able to extract critical images/graphs from *.pdf files
by using <screen capture> which saved them as *png.

My prefered file format ETHO can have gif, jpg, png
pasted into it, and it can edit/colour..etc. any text,
which makes it far superior to pdf.

How would I do this with standard Slakware-13?

== TIA.



Loki Harfagr

unread,
Nov 15, 2012, 1:17:42 PM11/15/12
to
Thu, 15 Nov 2012 17:36:57 +0000, Unknown did cat :
there are many possible ways and these include that one
you just described, though it might be the worst possible since it
introduces possible distortion between in an out, take a snapshot or
a "<screen capture>" and save it as a PNG object.

problem solved, other questions?-)

slakmagik

unread,
Nov 15, 2012, 3:12:40 PM11/15/12
to
pdftoppm has a -png option.

Jim Diamond

unread,
Nov 15, 2012, 9:28:48 PM11/15/12
to
I don't have Slackware-13.0 around any more, but if it has the
pdfimages program (in the poppler package in S14.0), you might
consider using that to extract the images from the PDF file, rather
than going thru the effort (and degradation) of using screen capture.

Cheers.
Jim

Loki Harfagr

unread,
Nov 16, 2012, 5:25:29 AM11/16/12
to
Thu, 15 Nov 2012 22:28:48 -0400, Jim Diamond did cat :
Now that there exists a central mirror access it is quite
easy to answer quickly to that type of interrogation:

### get the version related MANIFEST file (might use a VERSION variable
### but put it straight here for clarity
$ wget -c http://mirrors.slackware.com/slackware/slackware-13.0/slackware/MANIFEST.bz2 -O MANIFEST-13.0.bz2
###
### check if some stuff is listed and if so tells in whick package.
### examples with two toolies related to this thread ;-)
$ bzcat ./MANIFEST-13.0.bz2 | awk '/pdftoppm/{print $5}' RS=
./l/poppler-0.10.7-i486-1.txz
$ bzcat ./MANIFEST-13.0.bz2 | awk '/pdfimages/{print $5}' RS=
./l/poppler-0.10.7-i486-1.txz
0 new messages