Lines Matching defs:profile
352 // If there is no color profile information, it will use sRGB.
357 // First check for an ICC profile
358 png_bytep profile;
362 // Could knowing the |name| of the profile ever be interesting? Maybe for debugging?
365 // (1) libpng has already decompressed the profile for us.
368 if (PNG_INFO_iCCP == png_get_iCCP(png_ptr, info_ptr, &name, &compression, &profile,
370 auto data = SkData::MakeWithCopy(profile, length);
922 auto profile = read_color_profile(fPng_ptr, fInfo_ptr);
923 if (profile) {
924 switch (profile->profile()->data_color_space) {
926 profile = nullptr;
932 profile = nullptr;
975 bitDepth, std::move(profile));