Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do I extract images from pdf without lost quality??
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
kandresen
n00b
n00b


Joined: 15 Apr 2004
Posts: 56

PostPosted: Mon Nov 20, 2006 10:33 pm    Post subject: How do I extract images from pdf without lost quality?? Reply with quote

Hello all,

I am trying to extract two pages from a pdf file without loosing the resolution quality in the pdf document.

I have tried to use the commands
convert file.pdf file.png
convert -compress none -quality 0 file.pdf file.png
pdf2ppm file.pdf file
pdftohtml file.pdf file
gimp file.pdf

and others, but all with the same result - the text in the pages loose quality compared with for example
xpdf file.pdf

What can I do to get the images extracted with the same quality as in the pdf file?
Back to top
View user's profile Send private message
kandresen
n00b
n00b


Joined: 15 Apr 2004
Posts: 56

PostPosted: Mon Nov 20, 2006 11:04 pm    Post subject: Reply with quote

Just tried with ImageMagick which have made it look much better than the other tries.

It is however still not at the same level as when looking at the file with xpdf, which look perfect even at 400% zoom.
Back to top
View user's profile Send private message
kandresen
n00b
n00b


Joined: 15 Apr 2004
Posts: 56

PostPosted: Wed Nov 22, 2006 12:02 am    Post subject: Reply with quote

I did at last find an alternative that fixed my problem even though it did not do what I asked for.

the package (app-text/flpsed ) allowed me to add the text to the pdf without loss of quality. This was different to exporting it to images first, then add those images as background to a document and let the text go above the image, which was my original idea...

The flpsed was a quite ok alternative in this case - even though several options, like text spacing options and font types seem unavailable.
Back to top
View user's profile Send private message
robinmarlow
Apprentice
Apprentice


Joined: 10 Mar 2004
Posts: 167

PostPosted: Sat Nov 25, 2006 7:56 pm    Post subject: Reply with quote

Try opening the PDF in GIMP. It is a bit fiddly as you have to specify which page & try different resolutions, but it's always worked for me.

Robin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum