Flutter Engine
The Flutter Engine
Namespaces | Enumerations | Functions
image_encoding.h File Reference
#include "fml/status_or.h"
#include "third_party/skia/include/core/SkImage.h"
#include "third_party/tonic/dart_library_natives.h"

Go to the source code of this file.

Namespaces

namespace  flutter
 

Enumerations

enum  flutter::ImageByteFormat {
  flutter::kRawRGBA , flutter::kRawStraightRGBA , flutter::kRawUnmodified , flutter::kRawExtendedRgba128 ,
  flutter::kPNG
}
 

Functions

Dart_Handle flutter::EncodeImage (CanvasImage *canvas_image, int format, Dart_Handle callback_handle)
 
fml::StatusOr< sk_sp< SkData > > flutter::EncodeImage (const sk_sp< SkImage > &raster_image, ImageByteFormat format)