LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 01-11-2007, 05:51 AM   #1
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
[PDF] Is it efficient?


I've always thought that PDF is quite efficient. Most of the times it's smaller than the MS Word document that was used as the source.

Unfortunately I have not been able to convert a MS Word document to PDF using OO Writer without sacrifying filesize.

Example:
A 48kB word document becomes a 384kB PDF?
  1. Is PDF efficient?
  2. If so, how can I reduce the size (used 80% quality and 150 DPI)

Not 100% sure if it belongs here or in the software section.

PS The document contained one or two pictures
 
Old 01-11-2007, 06:01 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Try converting the file to open-document format before exporting to pdf.

Portable Document Format is not used for it's efficiency (which will vary according to what is in the document). It is used for portability - it looks the same in any computer.

If bandwidth is an issue - archive it.
 
Old 01-11-2007, 06:23 AM   #3
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Just playing around with OOo's export to pdf feature ... I don't know how it works on word, but OOo gives a whole range of compression options.

Exporting a color file which is mostly image: size - 160.7kB
Using 90% jpeg compression, and keeping image resolution the same (150dpi), reduces file size to 155.5kB - or 97%

Sacrificing data (jpeg compression 75%), and this becomes 104.1kB - or 65%
Sacrificing image resolution (75dpi but still 90% jpeg), this becomes 77.9kB - or 48%

... see what I mean.
 
Old 01-11-2007, 07:42 AM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Original Poster
Rep: Reputation: 282Reputation: 282Reputation: 282
I played with the quality (compression) and the DPI and it makes a minor difference (but still bigger than the original).
Also saved as ODT first.

Sorry that I did not mention it explicitely.

I will give it a shot with a clean OOo document (copy/paste or just retype it all).

Main reason to convert is to make it portable for publication on the internet. But bandwidth/speed is an issue in this part of the world as broadband is only now gaining popularity.

And main reason for the question is that most documents get smaller (as you also indicated).
 
Old 01-11-2007, 09:07 AM   #5
hand of fate
Member
 
Registered: Nov 2003
Distribution: Mandriva
Posts: 441

Rep: Reputation: 31
Quote:
Originally Posted by Simon Bridge
Just playing around with OOo's export to pdf feature ... I don't know how it works on word,
Last time I checked Word didn't even have any export to PDF facilities.
 
Old 01-11-2007, 09:24 AM   #6
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Original Poster
Rep: Reputation: 282Reputation: 282Reputation: 282
I think Simon means 'on word documents'.
 
Old 01-11-2007, 09:24 AM   #7
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Quote:
Main reason to convert is to make it portable for publication on the internet. But bandwidth/speed is an issue in this part of the world as broadband is only now gaining popularity.
I wouldn't use Word docs for publication, since you can't be sure people have just that version of Word available. It might open in OO.org or other versions of Word (befeore MS takes in use their securing software) but it wouldn't perhaps look quite the same; and those without Word or OO.org might have trouble hunting for the whole suite or small "Word Reader" applications, or paying some money for them. It's easier to use pdf or other similar formats since Adobe Reader (or the lighter, faster readers) are available at no cost, and pros are the documents stay looking like you created them. And if you think about the future, probably the amount of broadbands increase there too, and soon when the filesize doesn't matter if it's only some hundred kilos or less, you are worried about the outlook of the documents.

As said, pdf (or ps) isn't about file size, but about the way it looks and is. Word docs are great if you print them right away or use them only for yourself or use them as the base of a ps or pdf file, but I don't see much sense in using doc format when publishing documents on the web; there are too many differencies between the Word and other Doc reader versions, and more or at least as many users have Adobe Reader or equivalent as have Word or equivalent, I'm pretty sure about that. Another option is to publish the content as images, which are even more commonly readable, but then you'll surely lose in filesize.

Quote:
Last time I checked Word didn't even have any export to PDF facilities.
Now I'm not sure about the newest Offices (XP and newer), but the older ones didn't have it at least. There is always a possibility of installing a PDF Printer on the system, and use it like you would use a regular printer to produce pdf files. This is also what you can do on Linux. You can even get the "official" Adobe PDF printer, though there are other PDF printers around; they are usually somehow customized for some certain task, like to work for a certain (server) program rather than the user directly.

Last edited by b0uncer; 01-11-2007 at 09:26 AM.
 
Old 01-11-2007, 10:04 AM   #8
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
PDF is not the ideal web format. It is good for general documentation and stuff, but not for online viewing. It's much better for printable documents. (X)HTML is better for online documents. Horses for courses.
 
Old 01-11-2007, 04:00 PM   #9
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
And main reason for the question is that most documents get smaller
Consider creating web-enabled pages in pdf format via pdflatex instead.

pdf documents can be made almost arbitrarily smaller - sacrificing quality (save as 0% jpeg for eg) but the exact saving will depend on the document. There are lots of other ways to save space - leave off all images for eg.

In the end, you'll get better service with html, as mentioned.
 
  


Reply



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
Generating Pdf/Tex and changing Pdf Permissions nx5000 Linux - Software 3 03-28-2006 04:37 PM
Convert pdf to html or txt or remaster the pdf? jago25_98 Linux - Software 1 12-13-2005 01:11 AM
Simple is efficient ???? Maybe/Maybe not ! bigjohn General 21 07-08-2005 10:27 AM
Foxit PDF Reader 1.3: A Nice PDF Viewer Cinematography Linux - Software 6 05-03-2005 04:36 PM
a more efficient set up dr_zayus69 Linux - Newbie 3 12-03-2004 09:47 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 02:23 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration