LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-14-2004, 01:56 AM   #1
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),Suse 13.1 (Desktop),, Mepis on the wifes lappy
Posts: 766

Rep: Reputation: 92
How can I make PDF documents smaller (In file size)?


Hi all,
Does anyone know how to reduce the size of PDFs. I have just converted a OOo doc, which in native XML is around 67Kb. But as a PDF it's 608Kb. Have I done something stupid, or is this normal?

TIA
 
Old 04-14-2004, 02:02 PM   #2
wapcaplet
Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
I think it depends a lot on whether the fonts used in the document must be encoded into the PDF. Try using a generic font like 'Times.' Also, I believe in OOo there is an option for producing "screen-optimized" PDFs, which can reduce the file size if there are graphic objects and whatnot in the document. In my experience, a good text-only PDF output is only a few times larger than what you'd expect for an ASCII text version of the file; my resume, for example, is 9K in .sxw format, 2K in ASCII, and 8K in PDF.

There are also some command-line utilities, most of which come with Ghostscript and xpdf, I think, that may help you compress PDFs. ps2ps, ps2pdf, pdf2ps, etc.

Last edited by wapcaplet; 04-14-2004 at 02:05 PM.
 
Old 04-15-2004, 01:20 AM   #3
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),Suse 13.1 (Desktop),, Mepis on the wifes lappy
Posts: 766

Original Poster
Rep: Reputation: 92
Thumbs up

Excellent, Thanks for that. I have experimented with several fonts, and have found what I feel is acceptable between legibility and file size. Wish I'd thought of that in the first place.
 
Old 07-28-2010, 02:42 PM   #4
jennyChrist81
LQ Newbie
 
Registered: Jul 2010
Posts: 1

Rep: Reputation: 0
Lightbulb make pdf file smaller

<<MOD edit>>
Deleted irrelevant material which was also advertising

Last edited by pixellany; 07-31-2010 at 07:18 AM.
 
Old 07-31-2010, 07:19 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
jenny*;
2 problems: You were talking about Windows SW, and you also appeared to have been advertising a particular product/website.

Last edited by pixellany; 07-31-2010 at 02:07 PM.
 
Old 08-01-2010, 07:17 AM   #6
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,887

Rep: Reputation: 774Reputation: 774Reputation: 774Reputation: 774Reputation: 774Reputation: 774Reputation: 774
Quote:
Originally Posted by vdemuth View Post
in native XML is around 67Kb. But as a PDF it's 608Kb. Have I done something stupid, or is this normal?
It is a bigger ratio than I would have expected (say, 3:1 rather than 10:1), but the trend is quite normal. You could get some of it back by compressing the file (gzip, bzip or something similar) if you are e-mailing the file, but for general use, it is probably more hassle than it is worth.
 
Old 11-05-2011, 08:56 AM   #7
oldoak
LQ Newbie
 
Registered: Jan 2006
Location: Cincinnati
Distribution: Fedora 14
Posts: 4

Rep: Reputation: 0
Using pdf2ps <--> ps2pdf

PDF FILE SIZE REDUCTION

I had a 2-page pdf file that was 10.6 MB
I first used:
pdf2ps file.pdf file.ps
I next used:
ps2pdf file.ps file2.pdf
results:
file.ps 19.4 MB
file2.pdf 1.8 MB

No apparent loss in visible quality, significant reduction of file size!
 
Old 11-05-2011, 09:39 AM   #8
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Best way to reduce the size is to convert it to djvu.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Very large pdf file size gmgartner Linux - Software 5 04-28-2005 11:23 AM
make mpg file size smaller secretlydead Linux - Software 2 02-14-2005 08:42 AM
how could i make my font size smaller in terminal Paxmaster Linux - Software 3 02-05-2005 08:43 PM
when creating a *.iso file, how to make the file size smaller? minm Linux - Newbie 8 12-26-2004 09:58 PM
converting documents to pdf Chijtska Linux - General 5 02-05-2002 05:30 PM


All times are GMT -5. The time now is 06:30 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration