Lines Matching refs:read_png
161 read_png(const char* filename, int& width, int& height, png_bytep*& rowPtrs,
167 error("[read_png] File %s could not be opened for reading", filename);
173 error("[read_png] File %s is not recognized as a PNG file", filename);
178 error("[read_png] png_create_read_struct failed");
182 error("[read_png] png_create_info_struct failed");
187 error("[read_png] Error during init_io");
207 error("[read_png] File %s has wrong bit depth\n", filename);
209 error("[read_png] File %s has wrong color type (RGB required)\n",
219 error("[read_png] Error during read_image");
368 read_png(logoFilename, logoWidth, logoHeight, logoRowPtrs, logoPngPtr,
370 read_png(iconsFilename, iconsWidth, iconsHeight, iconsRowPtrs, iconsPngPtr,