Lines Matching refs:ImageInfo

134     ts = *localtime(&ImageInfo.FileDateTime);  in FileTimeAsString()
274 if (!HasScandate && !ImageInfo.DateTime[0]){
277 sprintf(Temp, "scan_date=%s", ctime(&ImageInfo.FileDateTime));
293 if (ImageInfo.Height <= 1280 && ImageInfo.Width <= 1280){
294 printf("not resizing %dx%x '%s'\n",ImageInfo.Height, ImageInfo.Width, ImageInfo.FileName);
298 scale = 1024.0 / ImageInfo.Height;
299 if (1024.0 / ImageInfo.Width < scale) scale = 1024.0 / ImageInfo.Width;
303 …ndString, "mogrify -geometry %dx%d -quality 85 &i",(int)(ImageInfo.Width*scale), (int)(ImageInfo.H…
430 if (strstr(ImageInfo.CameraModel, FilterModel) == NULL){
444 if (ImageInfo.Width > ImageInfo.Height) return TRUE;
448 if (ImageInfo.Width < ImageInfo.Height) return TRUE;
570 if (!Exif2tm(&tm, ImageInfo.DateTime)){
573 tm = *localtime(&ImageInfo.FileDateTime);
590 printf("Could not convert %s to unix time",ImageInfo.DateTime);
700 if (ImageInfo.Orientation >= 2 && ImageInfo.Orientation <= 8){
716 if (ImageInfo.ThumbnailOffset &&
717 ImageInfo.ThumbnailSize &&
718 ImageInfo.ThumbnailAtEnd){
752 if (ImageInfo.ThumbnailOffset == 0 || ImageInfo.ThumbnailAtEnd == FALSE){
789 memset(&ImageInfo, 0, sizeof(ImageInfo));
790 ImageInfo.FlashUsed = -1;
791 ImageInfo.MeteringMode = -1;
792 ImageInfo.Whitebalance = -1;
798 ImageInfo.FileDateTime = st.st_mtime;
799 ImageInfo.FileSize = st.st_size;
812 strncpy(ImageInfo.FileName, FileName, PATH_MAX);
1053 if (ImageInfo.numDateTimeTags){
1064 FileTimeAsString(ImageInfo.DateTime);
1067 memcpy(ImageInfo.DateTime, DateSet, DateSetChars);
1071 strcpy(TempBuf, ImageInfo.DateTime);
1076 if (!Exif2tm(&tm, ImageInfo.DateTime)) goto badtime;
1094 for (a = 0; a < ImageInfo.numDateTimeTags; a++) {
1096 Pointer = ExifSection->Data+ImageInfo.DateTimeOffsets[a]+8;
1099 memcpy(ImageInfo.DateTime, TempBuf, 19);
1165 if (ImageInfo.numDateTimeTags){
1170 if (!Exif2tm(&tm, ImageInfo.DateTime)) goto badtime;
1199 printf("Error: Time '%s': cannot convert to Unix time\n",ImageInfo.DateTime);