Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Fri Mar 24, 2017 3:38 pm

Hi,

What are the possible values and meaning for compressionQuality in the Spire.Pdf.Graphics function?
public void DrawImage(
PdfImage image,
int compressionQuality,
float x,
float y,
float width,
float height
)

Thank You,
Scott

scott.dubose@virtusllc.com
 
Posts: 17
Joined: Wed Sep 18, 2013 8:49 pm

Mon Mar 27, 2017 3:17 am

Dear Scott,

Thanks for your inquiry.
The value compressionQuality can be set to 0~100. The higher the value, the better the picture quality. In other words, the value 0 means the maximum compression. If there is any question, please let me know.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Return to Spire.PDF