Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2015-02-11
4
Medium Priority
?
110 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Amazon Web Services EC2 Cheat Sheet

AWS EC2 is a core part of AWS’s cloud platform, allowing users to spin up virtual machines for a variety of tasks; however, EC2’s offerings can be overwhelming. Learn the basics with our new AWS cheat sheet – this time on EC2!

Question has a verified solution.

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

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Outlook for dependable use in a very small business   This article is about using the Outlook application (part of Microsoft Office) in a very small business, or for homeowners where dependability and reliability are critical requirements. This …
In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

721 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