Changeset 383 for pwntcha/trunk/src/image.c
- Timestamp:
- Jan 3, 2005, 11:58:23 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pwntcha/trunk/src/image.c
r382 r383 11 11 12 12 #include <stdio.h> 13 #include <stdint.h>14 13 #include <stdlib.h> 15 14 … … 134 133 void display_image(struct image *img) 135 134 { 136 char name[BUFSIZ];137 135 #if defined(HAVE_IMLIB2_H) 136 //char name[BUFSIZ]; 138 137 //static int i = 0; 139 138 //sprintf(name, "image%i-%ix%i.png", i++, img->width, img->height); … … 142 141 //fprintf(stderr, "saved to %s\n", name); 143 142 #elif defined(HAVE_CV_H) 143 char name[BUFSIZ]; 144 144 sprintf(name, "Image %p (%i x %i)", img, img->width, img->height); 145 145 cvNamedWindow(name, 0);
Note: See TracChangeset
for help on using the changeset viewer.