Lines Matching refs:height
22 printf("MacOS X system CLUT. The first %d bytes must be the width, height, and depth\n", 3 * sizeof(short));
36 short width = 0, height = 0, depth = 0;
65 else if (strcmp(argv[next], "-h") == 0) // image height (pixels)
102 fread((void *) &height, sizeof(short), 1, stream);
103 printf("got height: %d\n", height);
107 if (!(width && height && depth)) {
108 printf("Invalid image file header (width, height, or depth is 0)\n");
112 pixels = width * height;
170 fprintf( out_stream, "%d, ", height); /* panic dialog y */
211 short height, depth, totalwidth;
226 fread((void *) &height, sizeof(short), 1, stream);
227 printf("got height: %d\n", height);
231 if (!(width && height && depth)) {
232 printf("Invalid numbers file header (width, height, or depth is 0)\n");
239 pixmap[item] = (int *) malloc( 2*width[item]*height*sizeof(int) );
246 for( row=0; row < height; row++) {
301 fprintf( out_stream, "/* h */ %d,\n", height);