Improve company productivity with a Business Account.Sign Up

x
?
Solved

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

Posted on 2015-02-11
4
Medium Priority
?
119 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 2000 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

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Article by: Shaun
Tiling windows is a great way to see multiple applications at once. Windows Tiler is a tool that automatically tiles open application windows as the open and close.
Here is why.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

584 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