MCPcopy Create free account
hub / github.com/Tencent/tgfx / encode

Method encode

src/core/Bitmap.cpp:95–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95std::shared_ptr<Data> Bitmap::encode(EncodedFormat format, int quality) const {
96 Pixmap pixmap(*this);
97 return ImageCodec::Encode(pixmap, format, quality);
98}
99
100Color Bitmap::getColor(int x, int y) const {
101 return Pixmap(*this).getColor(x, y);

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected