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
net_instaweb::Image::ConversionBySourceVariable Struct Reference

#include "image.h"

Public Attributes

Variabletimeout_count
 

of timed-out conversions.


 
Histogramsuccess_ms
 Successful conversion duration.
 
Histogramfailure_ms
 Failed (and non-timed-out) conversion duration.
 

Detailed Description

Images that are in the process of being transformed are represented by an Image. This class encapsulates various operations that are sensitive to the format of the compressed image file and of the image libraries we are using. In particular, the timing of compression and decompression operations may be a bit unexpected, because we may do these operations early in order to retrieve image metadata, or we may choose to skip them entirely if we don't need them or don't understand how to do them.

In future we may need to plumb this to other data sources or change how metadata is retrieved; the object is to do so locally in this class without disrupting any of its clients.


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