aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkEncodedImageFormat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkEncodedImageFormat.h')
-rw-r--r--include/core/SkEncodedImageFormat.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/include/core/SkEncodedImageFormat.h b/include/core/SkEncodedImageFormat.h
new file mode 100644
index 0000000000..eb714f3d42
--- /dev/null
+++ b/include/core/SkEncodedImageFormat.h
@@ -0,0 +1,30 @@
+/*
+ * Copyright 2015 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef SkEncodedImageFormat_DEFINED
+#define SkEncodedImageFormat_DEFINED
+
+#include <stdint.h>
+
+/**
+ * Enum describing format of encoded data.
+ */
+enum class SkEncodedImageFormat {
+ kBMP,
+ kGIF,
+ kICO,
+ kJPEG,
+ kPNG,
+ kWBMP,
+ kWEBP,
+ kPKM,
+ kKTX,
+ kASTC,
+ kDNG,
+};
+
+#endif // SkEncodedImageFormat_DEFINED