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

Function ParseICCProfile

src/core/codecs/jpeg/JpegCodec.cpp:126–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126bool ParseICCProfile(const std::vector<uint8_t>& iccProfileData, gfx::skcms_ICCProfile* profile) {
127 return skcms_Parse(iccProfileData.data(), iccProfileData.size(), profile);
128}
129
130bool ConvertCMYKPixels(void* dst, const gfx::skcms_ICCProfile cmykProfile,
131 const ImageInfo& dstInfo) {

Callers 1

readScaledPixelsMethod · 0.85

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected