Lines Matching refs:height
129 png_uint_32 width, height, rowbytes, w, h, res_x, res_y; in gdImageCreateFromPngCtx() local
199 …png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, &interlace_type, NULL, N… in gdImageCreateFromPngCtx()
202 im = gdImageCreateTrueColor((int) width, (int) height); in gdImageCreateFromPngCtx()
204 im = gdImageCreate((int) width, (int) height); in gdImageCreateFromPngCtx()
348 image_data = (png_bytep) safe_emalloc(rowbytes, height, 0); in gdImageCreateFromPngCtx()
350 row_pointers = (png_bytepp) safe_emalloc(height, sizeof(png_bytep), 0); in gdImageCreateFromPngCtx()
353 for (h = 0; h < height; ++h) { in gdImageCreateFromPngCtx()
385 for (h = 0; h < height; h++) { in gdImageCreateFromPngCtx()
398 for (h = 0; h < height; h++) { in gdImageCreateFromPngCtx()
418 for (h = 0; h < height; ++h) { in gdImageCreateFromPngCtx()
493 int height = im->sy; in gdImagePngCtxEx() local
605 png_set_IHDR(png_ptr, info_ptr, width, height, 8, PNG_COLOR_TYPE_RGB_ALPHA, interlace_type, in gdImagePngCtxEx()
608 png_set_IHDR(png_ptr, info_ptr, width, height, 8, PNG_COLOR_TYPE_RGB, interlace_type, in gdImagePngCtxEx()
612 png_set_IHDR(png_ptr, info_ptr, width, height, bit_depth, PNG_COLOR_TYPE_PALETTE, interlace_type, in gdImagePngCtxEx()
721 row_pointers = safe_emalloc(sizeof(png_bytep), height, 0); in gdImagePngCtxEx()
723 for (j = 0; j < height; ++j) { in gdImagePngCtxEx()
749 for (j = 0; j < height; ++j) { in gdImagePngCtxEx()
757 row_pointers = safe_emalloc(height, sizeof(png_bytep), 0); in gdImagePngCtxEx()
758 for (j = 0; j < height; ++j) { in gdImagePngCtxEx()
768 for (j = 0; j < height; ++j) { in gdImagePngCtxEx()