Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Functions
image_converter.h File Reference
#include <cstddef>
#include "third_party/optipng/src/opngreduc/opngreduc.h"
#include "pagespeed/kernel/base/basictypes.h"
#include "pagespeed/kernel/base/string.h"
#include "pagespeed/kernel/image/image_frame_interface.h"
#include "pagespeed/kernel/image/jpeg_optimizer.h"
#include "pagespeed/kernel/image/scanline_interface.h"
#include "pagespeed/kernel/image/scanline_status.h"
#include "pagespeed/kernel/image/webp_optimizer.h"

Go to the source code of this file.

Classes

class  pagespeed::image_compression::ImageConverter
 

Namespaces

 net_instaweb
 Unit-test framework for wget fetcher.
 
 pagespeed
 for size_t
 

Functions

bool pagespeed::image_compression::GenerateBlankImage (size_t width, size_t height, bool has_transparency, GoogleString *output, MessageHandler *handler)
 Returns a blank PNG image with specified size and transparency.
 
bool pagespeed::image_compression::ShouldConvertToProgressive (int64 quality, int threshold, int num_bytes, int desired_width, int desired_height)
 Returns whether progressive format will result in a smaller JPEG image.