1// Copyright 2013 The Flutter 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 FLUTTER_LIB_UI_PAINTING_IMAGE_ENCODING_H_
6#define FLUTTER_LIB_UI_PAINTING_IMAGE_ENCODING_H_
7
8#include "third_party/tonic/dart_library_natives.h"
9
10namespace flutter {
11
12class CanvasImage;
13
14Dart_Handle EncodeImage(CanvasImage* canvas_image,
15 int format,
16 Dart_Handle callback_handle);
17
18} // namespace flutter
19
20#endif // FLUTTER_LIB_UI_PAINTING_IMAGE_ENCODING_H_
21