Lines Matching defs:imageName
95 const char* imageName = (const char*) png_get_error_ptr(png_ptr);
96 fprintf(stderr, "%s: libpng warning: %s\n", imageName, warning_message);
99 static void read_png(const char* imageName,
107 png_set_error_fn(read_ptr, const_cast<char*>(imageName),
115 //printf("Image %s:\n", imageName);
162 imageName,
541 static status_t do_9patch(const char* imageName, image_info* image)
671 printf("Size ticks for %s: x0=%d, x1=%d, y0=%d, y1=%d\n", imageName,
674 printf("padding ticks for %s: l=%d, r=%d, t=%d, b=%d\n", imageName,
772 if (i == 0) printf("Colors in %s:\n ", imageName);
781 " %s.\n", imageName, errorMsg);
874 static void analyze_image(const char *imageName, image_info &imageInfo, int grayscaleTolerance,
1070 printf("%s: forcing image to gray (max deviation = %d)\n", imageName, maxGrayDeviation);
1137 static void write_png(const char* imageName,
1167 printf("Writing image %s: w = %d, h = %d\n", imageName,
1177 analyze_image(imageName, imageInfo, grayscaleTolerance, rgbPalette, alphaPalette,
1200 imageName, paletteEntries,
1204 printf("Image %s is opaque gray, using PNG_COLOR_TYPE_GRAY\n", imageName);
1207 printf("Image %s is gray + alpha, using PNG_COLOR_TYPE_GRAY_ALPHA\n", imageName);
1210 printf("Image %s is opaque RGB, using PNG_COLOR_TYPE_RGB\n", imageName);
1213 printf("Image %s is RGB + alpha, using PNG_COLOR_TYPE_RGB_ALPHA\n", imageName);