Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Side by Side Diff: skia/ext/skia_encode_image.h

Issue 2527833002: Implement SkEncodeImage() (Closed)
Patch Set: 2016-11-28 (Monday) 17:33:22 EST Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef SKIA_EXT_SKIA_ENCODE_IMAGE_H
6 #define SKIA_EXT_SKIA_ENCODE_IMAGE_H
7
8 #include "third_party/skia/include/core/SkEncodedImageFormat.h"
9 #include "third_party/skia/include/core/SkTypes.h"
10
11 class SkPixmap;
12 class SkWStream;
13
14 namespace skia {
15
16 typedef bool (*ImageEncoder)(SkWStream*,
17 const SkPixmap&,
18 SkEncodedImageFormat,
19 int quality);
20
21 SK_API void SetEmageEncoder(ImageEncoder);
scroggo 2016/11/29 14:52:54 Image*?
hal.canary 2016/11/29 18:24:27 Wow. I cut-and-pasted that typo twice without see
22
23 } // namespace skia
24
25 #endif // SKIA_EXT_SKIA_ENCODE_IMAGE_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698