19 #ifndef NET_INSTAWEB_REWRITER_PUBLIC_WEBP_OPTIMIZER_H_
20 #define NET_INSTAWEB_REWRITER_PUBLIC_WEBP_OPTIMIZER_H_
24 namespace net_instaweb {
const int kNoQualityGiven
Definition: webp_optimizer.h:33
bool(* WebpProgressHook)(int percent, void *user_data)
Progress hook for WebP conversions.
Definition: webp_optimizer.h:29
bool OptimizeWebp(const GoogleString &original_jpeg, int configured_quality, WebpProgressHook progress_hook, void *progress_hook_data, GoogleString *compressed_webp, MessageHandler *message_handler)
std::string GoogleString
PAGESPEED_KERNEL_BASE_STRING_H_.
Definition: string.h:24
Definition: message_handler.h:39
bool ReduceWebpImageQuality(const GoogleString &original_webp, int quality, GoogleString *compressed_webp)