xx=ReadPropertyMSBLong(&blob,&length);
x=(long) xx;
if (xx > 2147483647)
- x=xx-4294967295-1;
+ x=(long) xx-4294967295-1;
y=(long) yy;
if (yy > 2147483647)
- y=yy-4294967295-1;
+ y=(long) yy-4294967295-1;
point[i].x=(double) x/4096/4096;
point[i].y=1.0-(double) y/4096/4096;
}
xx=ReadPropertyMSBLong(&blob,&length);
x=(long) xx;
if (xx > 2147483647)
- x=xx-4294967295-1;
+ x=(long) xx-4294967295-1;
y=(long) yy;
if (yy > 2147483647)
- y=yy-4294967295-1;
+ y=(long) yy-4294967295-1;
point[i].x=(double) x*columns/4096/4096;
point[i].y=(double) y*rows/4096/4096;
}
filename[MaxTextExtent];
*value='\0';
- switch (*(property))
+ switch (*property)
{
case 'b':
{
{
if (LocaleNCompare("unique",property,6) == 0)
{
+ if (*image_info->unique == '\0')
+ (void) AcquireUniqueFilename(image_info->unique);
(void) CopyMagickString(filename,image_info->unique,MaxTextExtent);
(void) CopyMagickString(value,filename,MaxTextExtent);
break;