Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Attributes | List of all members
pagespeed::image_compression::JpegLossyOptions Struct Reference

Public Attributes

int quality
 
int num_scans
 
ColorSampling color_sampling
 Color sampling that needs to be used while recompressing the image.
 

Member Data Documentation

int pagespeed::image_compression::JpegLossyOptions::num_scans

No. of progressive scan that needs to be included in the final output. -1 indicates to use all scans that are present.

int pagespeed::image_compression::JpegLossyOptions::quality

jpeg_quality - Can take values in the range [1,100]. For web images, the preferred value for quality is 85. For smaller images like thumbnails, the preferred value for quality is 75. Setting it to values below 50 is generally not preferable.


The documentation for this struct was generated from the following file: