[opensuse] converting pdf file to an image containing pdf file
Hello: I have a normal pdf file (with text and embedded fonts) that I would like to convert to a pdf file which has all the pages as embedded images. In other words I want to imitate the process of printing the pdf out to paper sheets and then scanning the printed pages to a pdf file. I guess this should be doable using the command line, but which program? ghostscipt or imagemagick etc, and how to do it exactly? Thanks in advance, Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 19/11/2018 15.49, Istvan Gabor wrote:
Hello:
I have a normal pdf file (with text and embedded fonts) that I would like to convert to a pdf file which has all the pages as embedded images. In other words I want to imitate the process of printing the pdf out to paper sheets and then scanning the printed pages to a pdf file.
I guess this should be doable using the command line, but which program? ghostscipt or imagemagick etc, and how to do it exactly?
But why? It will be impossible to search for text, for instance, or to voice read it. Also uncomfortable on portable readers, because the pages can not be resized. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On Mon, 19 Nov 2018 15:55:01 +0100, Carlos E. R. wrote:
On 19/11/2018 15.49, Istvan Gabor wrote:
Hello:
I have a normal pdf file (with text and embedded fonts) that I would like to convert to a pdf file which has all the pages as embedded images. In other words I want to imitate the process of printing the pdf out to paper sheets and then scanning the printed pages to a pdf file.
I guess this should be doable using the command line, but which program? ghostscipt or imagemagick etc, and how to do it exactly?
But why?
Because some of the pages has to be filled/signed and then scanned. I don't want these scanned pages to join with 'regular' pdf pages. Therefore I want to convert the 'regular pages' to 'embedded image' pages before joining.
It will be impossible to search for text, for instance, or to voice read it. Also uncomfortable on portable readers, because the pages can not be resized.
It doesn't matter in this case, it can be even an advantage occasionally. Thanks Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, 19 Nov 2018 15:49:37 +0100, Istvan Gabor wrote:
Hello:
I have a normal pdf file (with text and embedded fonts) that I would like to convert to a pdf file which has all the pages as embedded images. In other words I want to imitate the process of printing the pdf out to paper sheets and then scanning the printed pages to a pdf file.
I guess this should be doable using the command line, but which program? ghostscipt or imagemagick etc, and how to do it exactly?
I found a solution, imagemagick's convert command can be used to rasterize pdf files: convert -density 300 input.pdf output.pdf Other solutions are welcome! Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Because of the size and quality, i would first split the pdf and rasterize only pages who has to be modified: pdftk multipagepdffile burst then i would rasterize what i need: (open it with gimp -> will do automatically rasterize) copy the sign and what all has to be filled in (gimp is also able to write), and "export as pdf" and now i would combine all pages again: pdftk pdf1 pdf2 pdf3 .... cat output newpdf this way it will save you a huge amount of filesize..... simoN Am 19.11.18 um 16:38 schrieb Istvan Gabor:
On Mon, 19 Nov 2018 15:49:37 +0100, Istvan Gabor wrote:
Hello:
I have a normal pdf file (with text and embedded fonts) that I would like to convert to a pdf file which has all the pages as embedded images. In other words I want to imitate the process of printing the pdf out to paper sheets and then scanning the printed pages to a pdf file.
I guess this should be doable using the command line, but which program? ghostscipt or imagemagick etc, and how to do it exactly?
I found a solution, imagemagick's convert command can be used to rasterize pdf files:
convert -density 300 input.pdf output.pdf
Other solutions are welcome!
Istvan
-- B e c h e r e r GmbH Sondermaschinenbau Mauermatten Strasse 22 79183 Waldkirch Germany Tel.: (+49) (0)7681 3134 Fax: (+49) (0)7681 4378 Mail: info@becherer.de Web: www.becherer.de USt-ID-Nr.: DE 814912198 Registergericht: Freiburg HRB 701860 Geschäftsführer: Dipl.-Ing. (FH), EWE Simon H. Becherer Gerichtsstand / Sitz: Waldkirch Es gelten ausschließlich unsere allgemeinen Liefer- und Zahlungsbedingungen / Einkaufsbedingungen: www.becherer.de/AGB -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 19/11/2018 à 16:38, Istvan Gabor a écrit :
I found a solution, imagemagick's convert command can be used to rasterize pdf files:
convert -density 300 input.pdf output.pdf
Other solutions are welcome!
Istvan
I was just about to propose this one :-) image magic is just magic :-) jdd -- http://dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Carlos E. R.
-
Istvan Gabor
-
jdd@dodin.org
-
Simon Becherer