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

Method JpegCodec

src/core/codecs/jpeg/JpegCodec.h:53–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 static std::shared_ptr<ImageCodec> MakeFromData(const std::string& filePath,
52 std::shared_ptr<Data> byteData);
53 explicit JpegCodec(int width, int height, Orientation orientation, std::string filePath,
54 std::shared_ptr<Data> fileData)
55 : ImageCodec(width, height, orientation), fileData(std::move(fileData)),
56 filePath(std::move(filePath)) {
57 }
58};
59
60} // namespace tgfx

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected