Solved

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

Posted on 2015-02-11
4
102 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 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

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

Question has a verified solution.

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

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
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…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

622 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