Bob Tennent wrote:
Fri, 2 Sep 2005 13:02:19 +0200, Michael Heiming wrote:
In comp.os.linux.misc Bob Tennent <BobT@cs.queensu.ca>:
>Can any open-source program read this format?
>
Check if the doze app can export to anything useful,
.eps/.ps/.pdf and use http://www.scribus.org.uk/ to import and
work with it.
I was sent a *huge* pdf to link to from a web site. The author isn't
capable of cutting it down to size so I asked for the "original" file.
Turned out to be in Publisher format and I don't have Publisher (or
Windows for that matter). I've converted the pdf to jpg and cut the
size to a tenth but readability of the text has suffered.
So why is the original so huge? Does it contain uncompressed bitmaps
perhaps? Maybe there's something else that's suboptimal in the file. I
don't know of any way to directly optimize a PDF, but ps2ps does a
fairly good job of optimizing PostScript. So you could try:
pdf2ps hugefile.pdf hugefile.ps
ps2ps hugefile.ps newfile.ps
pdf2ps newfile.ps newfile.pdf
The above procedure took an 8.2 MB PDF which contained uncompressed
bitmaps, converted that to 10.2 MB of PostScript, and then converted the
PostScript to a mere 0.4 MB of PDF with the content compressed.
Note that the compression mentioned is within the PDF file itself and is
part of the PDF specification. It's not like a pdf.gz or something that
PDF viewers can't handle directly. It'll open in acroread, xpdf, etc.
just fine. It's also lossless compression, unlike JPEG, so readability
of the text shouldn't be affected.
course this doesn't help if the original PDF was huge in some other
way. But it's worth a try.