From a059123d8eb75302b13a7fd831478413d124d618 Mon Sep 17 00:00:00 2001 From: Vikas Arora Date: Wed, 22 Jun 2011 17:59:02 +0530 Subject: Add WebP Encoder support to SkImageEncoder. Extending Skia-WebP interface to handle the WebP encoding as well. The WebP encoding is required for sharing WebP images and transcoding images from other formats like PNG/JPEG to WEBP. Change-Id: I23d52323abf5e7eec0c6d3e0159a1ca7baee468b --- include/images/SkImageEncoder.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/images/SkImageEncoder.h b/include/images/SkImageEncoder.h index 94989c0..c56e080 100644 --- a/include/images/SkImageEncoder.h +++ b/include/images/SkImageEncoder.h @@ -10,7 +10,8 @@ class SkImageEncoder { public: enum Type { kJPEG_Type, - kPNG_Type + kPNG_Type, + kWEBP_Type }; static SkImageEncoder* Create(Type); -- cgit v1.1