Flutter Engine
The Flutter Engine
Namespaces | Functions
EncodeUtils.cpp File Reference
#include "tools/EncodeUtils.h"
#include "include/core/SkBitmap.h"
#include "include/core/SkData.h"
#include "include/core/SkDataTable.h"
#include "include/core/SkPixmap.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkStream.h"
#include "include/core/SkString.h"
#include "include/encode/SkPngEncoder.h"
#include "src/base/SkBase64.h"
#include <cstddef>
#include <cstdint>

Go to the source code of this file.

Namespaces

namespace  ToolUtils
 

Functions

bool ToolUtils::BitmapToBase64DataURI (const SkBitmap &bitmap, SkString *dst)
 
bool ToolUtils::EncodeImageToPngFile (const char *path, const SkBitmap &src)
 
bool ToolUtils::EncodeImageToPngFile (const char *path, const SkPixmap &src)