00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00018
00019 #ifndef NET_INSTAWEB_REWRITER_PUBLIC_WEBP_OPTIMIZER_H_
00020 #define NET_INSTAWEB_REWRITER_PUBLIC_WEBP_OPTIMIZER_H_
00021
00022 #include "net/instaweb/util/public/string.h"
00023
00024 namespace net_instaweb {
00025
00030 bool OptimizeWebp(const GoogleString& original_jpeg,
00031 GoogleString* compressed_webp);
00032
00036 bool ReduceWebpImageQuality(const GoogleString& original_webp,
00037 int quality, GoogleString* compressed_webp);
00038
00039 }
00040
00041 #endif ///< NET_INSTAWEB_REWRITER_PUBLIC_WEBP_OPTIMIZER_H_