Solved

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

Posted on 2015-02-11
4
88 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
An answer was provided. Please review the the instructions to properly close a question.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

The Adobe PDF proprietary file format is recognized as secure and formulated. But these PDF files are also prone to corruption and any external threat like virus attacks, improper storage can hit PDF file integrity.This type of damages can make cruc…
Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

762 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now