Type Default Value Read Only Description
Long 101 No The quality of compression acceptable for continuous tone images such as JPEGs.

 

   

Notes
 

This property determines the image quality acceptable when rendering HTML.

ABCpdf uses a high-quality lossless compression method for image compression when rendering HTML.

Using this setting, you can indicate the quality of compression which is acceptable for continuous tone images such as JPEGs.

This can result in a considerable reduction in file size with little or no loss in output quality.

Qualities should range between 0 and 100 (75 is a reasonable value). Values higher than 100 will result in lossless compression being used in all situations.

 

   

Example
 

The following example shows the effect that this parameter has on PDF rendering.

Set theDoc = Server.CreateObject("ABCpdf10.Doc")
theURL = "http://www.nasa.gov/multimedia/imagegallery/image_feature_313.html"
' Set low image quality for HTML rendering
theDoc.HtmlOptions.ImageQuality = 5
theDoc.AddImageUrl theURL
' Save the document
theDoc.Save "c:\mypdfs\HtmlOptionsImageQuality5.pdf"
theDoc.Clear
' Set lossless image quality for HTML rendering
theDoc.HtmlOptions.ImageQuality = 101
theDoc.AddImageUrl theURL
' Save the document
theDoc.Save "c:\mypdfs\HtmlOptionsImageQuality101.pdf"
theDoc.Clear


HtmlOptionsImageQuality5.pdf [file size 42 KB]


HtmlOptionsImageQuality101.pdf [file size 444 KB]