if ((TIFFGetField(tiff,TIFFTAG_SOFTWARE,&text) == 1) &&
(text != (char *) NULL))
(void) SetImageProperty(image,"tiff:software",text,exception);
- if ((TIFFGetField(tiff,33423,&count,&text) == 1) &&
- (text != (char *) NULL))
+ if ((TIFFGetField(tiff,33423,&count,&text) == 1) && (text != (char *) NULL))
{
if (count >= MagickPathExtent)
count=MagickPathExtent-1;
(void) CopyMagickString(message,text,count+1);
(void) SetImageProperty(image,"tiff:kodak-33423",message,exception);
}
- if ((TIFFGetField(tiff,36867,&count,&text) == 1) &&
- (text != (char *) NULL))
+ if ((TIFFGetField(tiff,36867,&count,&text) == 1) && (text != (char *) NULL))
{
if (count >= MagickPathExtent)
count=MagickPathExtent-1;
offset;
void
- *sans;
+ *sans[2] = { NULL, NULL };
/*
Read EXIF properties.
TIFFSetDirectory(tiff,directory);
return;
}
- sans=NULL;
for (i=0; exif_info[i].tag != 0; i++)
{
*value='\0';
*ascii;
ascii=(char *) NULL;
- if ((TIFFGetField(tiff,exif_info[i].tag,&ascii,&sans,&sans,&sans) == 1) &&
+ if ((TIFFGetField(tiff,exif_info[i].tag,&ascii,sans) == 1) &&
(ascii != (char *) NULL) && (*ascii != '\0'))
(void) CopyMagickString(value,ascii,MagickPathExtent);
break;
shorty;
shorty=0;
- if (TIFFGetField(tiff,exif_info[i].tag,&shorty,&sans,&sans,&sans) == 1)
+ if (TIFFGetField(tiff,exif_info[i].tag,&shorty,sans) == 1)
(void) FormatLocaleString(value,MagickPathExtent,"%d",shorty);
}
else
shorty_num;
tiff_status=TIFFGetField(tiff,exif_info[i].tag,&shorty_num,&shorty,
- &sans,&sans,&sans);
+ sans);
if (tiff_status == 1)
(void) FormatLocaleString(value,MagickPathExtent,"%d",
shorty_num != 0 ? shorty[0] : 0);
longy;
longy=0;
- if (TIFFGetField(tiff,exif_info[i].tag,&longy,&sans,&sans,&sans) == 1)
+ if (TIFFGetField(tiff,exif_info[i].tag,&longy,sans) == 1)
(void) FormatLocaleString(value,MagickPathExtent,"%d",longy);
break;
}
long8y;
long8y=0;
- if (TIFFGetField(tiff,exif_info[i].tag,&long8y,&sans,&sans,&sans) == 1)
+ if (TIFFGetField(tiff,exif_info[i].tag,&long8y,sans) == 1)
(void) FormatLocaleString(value,MagickPathExtent,"%.20g",(double)
((MagickOffsetType) long8y));
break;
floaty;
floaty=0.0;
- if (TIFFGetField(tiff,exif_info[i].tag,&floaty,&sans,&sans,&sans) == 1)
+ if (TIFFGetField(tiff,exif_info[i].tag,&floaty,sans) == 1)
(void) FormatLocaleString(value,MagickPathExtent,"%g",(double)
floaty);
break;
doubley;
doubley=0.0;
- if (TIFFGetField(tiff,exif_info[i].tag,&doubley,&sans,&sans,&sans) == 1)
+ if (TIFFGetField(tiff,exif_info[i].tag,&doubley,sans) == 1)
(void) FormatLocaleString(value,MagickPathExtent,"%g",doubley);
break;
}