size_px pagespeed::image_compression::ImageSpec::TruncateXIndex |
( |
size_px |
x | ) |
const |
Returns x truncated to a valid column index in [0, width]. Note that a value of 'width' denotes the first invalid index.
size_px pagespeed::image_compression::ImageSpec::TruncateYIndex |
( |
size_px |
y | ) |
const |
Returns y truncated to a valid row index in [0, height]. Note that a value of 'height' denotes the first invalid index.
bool pagespeed::image_compression::ImageSpec::image_size_adjusted |
Whether the image size was adjusted (as can happen when implementing some quirks modes).
unsigned int pagespeed::image_compression::ImageSpec::loop_count |
This is the total number of times to loop through all the frames (NOT the repeat number).
The documentation for this struct was generated from the following file: