Greetings.
The PDF files generated by Inkscape are unacceptably large when the document contains bitmap graphics. (An A5 book cover I just did is over 33 megabytes -- far too large to publish online.) I presume this is because Inkscape is embedding raw bitmaps into the PDF file, rather than using JPEG compression.
Is there a tool which will postprocess a PDF file to convert the embedded bitmaps to embedded JPEGs? I would prefer something free (GPL or the like) and available for GNU/Linux.
Regards, Tristan
Am Montag, den 09.04.2007, 17:13 +0100 schrieb Tristan Miller:
Is there a tool which will postprocess a PDF file to convert the embedded bitmaps to embedded JPEGs? I would prefer something free (GPL or the like) and available for GNU/Linux.
I dont no such a tool, sorry. Perhaps you may work around the problem by using OpenOffice.org to generate the pdfs. If you import an image to OOo make sure you "link" to it. So you can reexport the image with inkscape if you chaned something and dont need to reimport it in your openoffice document.
Florian Ludwig
On Mon, Apr 09, 2007 at 05:13:07PM +0100, Tristan Miller wrote:
Greetings.
The PDF files generated by Inkscape are unacceptably large when the document contains bitmap graphics. (An A5 book cover I just did is over 33 megabytes -- far too large to publish online.) I presume this is because Inkscape is embedding raw bitmaps into the PDF file, rather than using JPEG compression.
Is there a tool which will postprocess a PDF file to convert the embedded bitmaps to embedded JPEGs? I would prefer something free (GPL or the like) and available for GNU/Linux.
You might try pdftk. I don't know if it has recompression capabilties, but it's got quite a few capabilities for re-processing PDF files.
http://www.accesspdf.com/pdftk/
Bryce
Is there a tool which will postprocess a PDF file to convert the embedded bitmaps to embedded JPEGs? I would prefer something free (GPL or the like) and available for GNU/Linux.
Or build your PDF in Scribus, I hear it's PDF-oriented. I'm pretty sure there are cli tools to extract images from PDF files and they can then be imagemagicked, but getting them back *into* the PDF is not something I know about.
/d
Greetings.
In article <20662484.du6kY4JJE0@...2170...>, Tristan Miller wrote:
The PDF files generated by Inkscape are unacceptably large when the document contains bitmap graphics. (An A5 book cover I just did is over 33 megabytes -- far too large to publish online.) I presume this is because Inkscape is embedding raw bitmaps into the PDF file, rather than using JPEG compression.
Is there a tool which will postprocess a PDF file to convert the embedded bitmaps to embedded JPEGs? I would prefer something free (GPL or the like) and available for GNU/Linux.
I just discovered a tool which does what I want: PStill http://www.pstill.com/. It is available for several platforms in command-line and GUI versions, though it is not free software.
I still think that there must be some way of doing this with Ghostscript, but I haven't as yet figured it out.
Regards, Tristan
Greetings.
In article <20070409164911.GB31981@...983...>, Bryce Harrington wrote:
Is there a tool which will postprocess a PDF file to convert the embedded bitmaps to embedded JPEGs? I would prefer something free (GPL or the like) and available for GNU/Linux.
You might try pdftk. I don't know if it has recompression capabilties, but it's got quite a few capabilities for re-processing PDF files.
I've got that (one of my favourite programs, in fact); it doesn't transcode embedded images.
Regards, Tristan
And what about printing to pdf? In PDFCreator I believe you can set compression ratios and the like? So no "export" to it, just PRINT to PDF?
PDFCreator is available from sourceforge.net, although I'm not sure if it is for non-WIN platforms.
-----Original Message----- From: inkscape-user-bounces@lists.sourceforge.net [mailto:inkscape-user-bounces@lists.sourceforge.net] On Behalf Of Tristan Miller Sent: 9. april 2007 22:25 To: inkscape-user@lists.sourceforge.net Subject: Re: [Inkscape-user] JPEG-compress embedded images in PDF
Greetings.
In article <20662484.du6kY4JJE0@...2170...>, Tristan Miller wrote:
The PDF files generated by Inkscape are unacceptably large when the document contains bitmap graphics. (An A5 book cover I just did is over 33 megabytes -- far too large to publish online.) I presume this is because Inkscape is embedding raw bitmaps into the PDF file, rather than using JPEG compression.
Is there a tool which will postprocess a PDF file to convert the embedded bitmaps to embedded JPEGs? I would prefer something free (GPL or the like) and available for GNU/Linux.
I just discovered a tool which does what I want: PStill http://www.pstill.com/. It is available for several platforms in command-line and GUI versions, though it is not free software.
I still think that there must be some way of doing this with Ghostscript, but I haven't as yet figured it out.
Regards, Tristan
participants (5)
-
Bryce Harrington
-
Donn
-
Florian Ludwig
-
Maarten van der Velde
-
Tristan Miller