blob: 2f7618db9854b98ad1ac197b3f7418897b567c48 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_LIB_UI_PAINTING_IMAGE_ENCODING_H_
#define FLUTTER_LIB_UI_PAINTING_IMAGE_ENCODING_H_
#include "lib/tonic/dart_library_natives.h"
namespace blink {
class CanvasImage;
Dart_Handle EncodeImage(CanvasImage* canvas_image,
int format,
Dart_Handle callback_handle);
} // namespace blink
#endif // FLUTTER_LIB_UI_PAINTING_IMAGE_ENCODING_H_