Lines Matching refs:image_height
135 static ulg image_width, image_height, image_rowbytes; variable
303 if ((rc = readpng_init(infile, &image_width, &image_height)) != 0) { in main()
557 window = XCreateWindow(display, root, 0, 0, image_width, image_height, 0, in rpng_x_create_window()
580 size_hints->min_height = size_hints->max_height = (int)image_height; in rpng_x_create_window()
634 XFillRectangle(display, window, gc, 0, 0, image_width, image_height); in rpng_x_create_window()
651 xdata = (uch *)malloc(4*image_width*image_height); in rpng_x_create_window()
654 xdata = (uch *)malloc(2*image_width*image_height); in rpng_x_create_window()
657 xdata = (uch *)malloc(image_width*image_height); in rpng_x_create_window()
667 (char *)xdata, image_width, image_height, pad, 0); in rpng_x_create_window()
714 for (lastrow = row = 0; row < image_height; ++row) { in rpng_x_display_image()
788 for (lastrow = row = 0; row < image_height; ++row) { in rpng_x_display_image()
855 if (lastrow < image_height) { in rpng_x_display_image()
857 (int)lastrow, image_width, image_height-lastrow); in rpng_x_display_image()