Lines Matching refs:profile
34 static png_byte no_profile[] = "no profile";
43 /* Initialize for error or no profile: */
69 png_bytep profile;
71 if (png_get_iCCP(png_ptr, info_ptr, &name, &compression_type, &profile,
76 memcpy(result, profile, *proflen);
79 png_error(png_ptr, "OOM allocating profile buffer");
99 png_bytep profile = extract(fp, &proflen);
101 if (profile != NULL && profile != no_profile)
127 if (fwrite(profile, proflen, 1, of) == 1 &&
139 fprintf(stderr, "%s: error writing profile\n", output);
154 free(profile);
157 else if (verbose && profile == no_profile)
158 printf("%s has no profile\n", filename);