OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

PDF Options

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer
View previous topic :: View next topic  
Author Message
bartis.ervin
Newbie
Newbie


Joined: 24 Feb 2006
Posts: 3
Location: Warszawa

PostPosted: Fri Feb 24, 2006 6:38 am    Post subject: PDF Options Reply with quote

I am curious if I can set what compression is used by the PDF converter.

I converted a doc to pdf and they had the same size (as far as I know, PDF supposed to be smaller).

Thanks,
Ervin
Back to top
View user's profile Send private message Visit poster's website
Westland
Super User
Super User


Joined: 03 Feb 2006
Posts: 562

PostPosted: Fri Feb 24, 2006 6:45 am    Post subject: Reply with quote

Quote:
I converted a doc to pdf and they had the same size


was it a .doc (Word format) or Openoffice format ?
OOo files are "Zipped" and they produce "bigger" PDFs (these are not compressed). This will not happen with .doc files.

The compression in a PDF converter is associated mainly with images.
Text, by itself, is not compressed (it's already in vector format, i.e. fonts). There are some factor, like if all characters are embedded, tagging, etc, that can affect the final size.

I you select File-Export as PDF, you will be able to select the image resolution
_________________
"Do one thing every day that scares you"
Back to top
View user's profile Send private message
robina
OOo Advocate
OOo Advocate


Joined: 24 Mar 2005
Posts: 275

PostPosted: Fri Feb 24, 2006 7:13 am    Post subject: Reply with quote

PDFs are sometimes smaller, but usually bigger than "originals". Size depends on many factors, including the program used to create the PDF and the options selected.

And I think texts in a PDF can be compressed in a zip-like mode, and usually are.
Back to top
View user's profile Send private message
Westland
Super User
Super User


Joined: 03 Feb 2006
Posts: 562

PostPosted: Fri Feb 24, 2006 7:32 am    Post subject: Reply with quote

Results of Test with text only file:

(you can reproduce it: write dt, press F3 and you get "dummy text", copy until you have 100 pages)

ODT file: 14.492 bytes
PDF file: 488.888 bytes (from ODT, pressing the PDF button on Writer)
RAR File: 56.005 bytes (from PDF, compressed with winrar)

It seems that PDF text isn't very compressed.


Saved as DOC: 1.039.872 bytes !!! (this is after edited in Word, to be fair...)
_________________
"Do one thing every day that scares you"
Back to top
View user's profile Send private message
Westland
Super User
Super User


Joined: 03 Feb 2006
Posts: 562

PostPosted: Fri Feb 24, 2006 7:56 am    Post subject: Reply with quote

Continuation of Tests. PDF alternatives


From ODT file: 14.492 bytes
PDF file: 339.878 bytes (with PDFCreator)
PDF file: 222.859 bytes (with Acrobat 7)

From DOC: 1.039.872 bytes
PDF files 222.620 bytes (with Acrobat 7, took a huge amount of time)


Acrobat 7 achieves a much higher compression, at least with this test file. OpenOffice's built-in PDF exporter is not very efficient (although is fast !)

Even so, compare it with the tiny ODT file size !!!
That's not strange, since ODT stores content in a separated XML file. Since this example is mainly a repetition of the same block of text, it's begging for compression !
_________________
"Do one thing every day that scares you"
Back to top
View user's profile Send private message
David
Super User
Super User


Joined: 24 Oct 2003
Posts: 5668
Location: Canada

PostPosted: Fri Feb 24, 2006 4:32 pm    Post subject: Reply with quote

Westland wrote:
PDF files 222.620 bytes (with Acrobat 7, took a huge amount of time)

Acrobat 7 achieves a much higher compression, at least with this test file. OpenOffice's built-in PDF exporter is not very efficient (although is fast !)


With Acrobat PDF I got 151Kb. 254Kb using the distiller. I still don't know the difference between the two or why. That's a general lack of knowledge, not just about file size.

Primo PDF generated 433Kb, and I'm writing to him about that.

Quote:

Even so, compare it with the tiny ODT file size !!!
That's not strange, since ODT stores content in a separated XML file.


It's a Zip format, so highly compressed. Still, 13.9Kb I see. The roughly 490K content.xml seems to be compressed 99% according to Tugzip.

P.S.
Quote:
write dt, press F3 and you get "dummy text"


Where in the name of all holy things did that come from?

David.
Back to top
View user's profile Send private message
Kaaredyret
Moderator
Moderator


Joined: 22 Aug 2003
Posts: 1356
Location: Denmark

PostPosted: Fri Feb 24, 2006 5:17 pm    Post subject: Reply with quote

Fonts are embedded in PDF files so the file can be viewed on ANY computer. Acrobat Reader or any viewer must know how to draw these fonts on any system.

In Acrobat Destiller, PDFCreator (and CutePDF I think) you can disable font embedding, but then the viewers will substitute the fonts in the PDF file with similar fonts on the local system. For example, if the PDF file refers to the font AVALON and AVALON is not installed on the computer, then Acrobat Reader will use ARIAL instead for displaying the document.
_________________
www.kaaredyret.dk - OpenOffice resources (templates, extensions, tutorials and more) !
Stay updated on software and OpenOffice.org news via Twitter
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group