Solved

What compression I should use for my app created PDF files???

Posted on 2015-02-11
4
93 Views
Last Modified: 2015-02-14
Dear experts,

My application create PDF file and I can use these method of compression.
        None = 0,
        Rle = 1,
        Lzw = 2,
        Flate = 3,

The PDF files are text primary and have picture only for company logo. By the way, what is the best format of pictures (.jpg,png, bmp) to get best result with both problem free and smaller size?

Which method I should use in order to:
 1)Be sure that all users with any Windows, iOS and any other popular OS and any version of PDF reader will read it correctly?
2) To reduce the file size
0
Comment
Question by:dvplayltd
  • 2
  • 2
4 Comments
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 500 total points
ID: 40606293
All compression methods referenced in the PDF standard (ISO 32000) have to be supported by a standards compliant PDF viewer, so it should not matter which format you use. Based on how you list these formats, I assume you are using specific software to create your PDF files. Which library are you using?

Every compression method has it's 'niche' - you would not use RLE for text for example, that's the perfect format for BW images ( I assume you are referring to CCITT encoding when you say "RLE").

Here is what I would use:

JPEG for color images (this is a a lossy compression format, but will give you the best compression). You can also use JPEG2000, which will be harder to produce. If these are not an option, use LZW or Flate.

CCITT for BW images

LZW or Flate for other content like page streams.
0
 

Author Comment

by:dvplayltd
ID: 40607316
Thanks for your answer.

I use ASPOSE.CELL to make excel file, then save it in PDF. I'll use flate it look it is the best as it it primary text and my test shows that it provide best size.
0
 

Author Comment

by:dvplayltd
ID: 40607674
I've requested that this question be closed as follows:

Accepted answer: 0 points for dvplayltd's comment #a40607316

for the following reason:

10x.
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 40607675
An answer was provided. Please review the the instructions to properly close a question.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

*Adobe Acrobat 9 was used for this article.  Particular steps may vary depending on software versions. Adobe Acrobat has many, many variables that my be utilized to customize your forms for clarity and ease of use. The Form Editing Tool will be y…
Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
Sometimes we receive PDF files that are in the wrong orientation. They may be sideways or even upside down. This most commonly happens with scanned or faxed documents. It is possible to rotate the view of these PDFs with the free Adobe Reader produc…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question