char
sampling_factor[MagickPathExtent];
- int
- tiff_status;
-
uint16
horizontal,
vertical;
image->scene=value;
if (image->storage_class == PseudoClass)
{
- int
- tiff_status;
-
size_t
range;
if (TIFFGetField(tiff,TIFFTAG_ROWSPERSTRIP,&rows_per_strip) == 1)
{
char
- value[MagickPathExtent];
+ buffer[MagickPathExtent];
method=ReadStripMethod;
- (void) FormatLocaleString(value,MagickPathExtent,"%u",
+ (void) FormatLocaleString(buffer,MagickPathExtent,"%u",
(unsigned int) rows_per_strip);
- (void) SetImageProperty(image,"tiff:rows-per-strip",value,exception);
+ (void) SetImageProperty(image,"tiff:rows-per-strip",buffer,exception);
}
if (rows_per_strip > (uint32) image->rows)
ThrowTIFFException(CorruptImageError,"ImproperImageHeader");
ThrowTIFFException(ResourceLimitError,"MemoryAllocationFailed");
for (y=0; y < (ssize_t) image->rows; y++)
{
- int
- status;
-
register Quantum
*magick_restrict q;
- status=TIFFReadPixels(tiff,0,y,(char *) tiff_pixels);
- if (status == -1)
+ tiff_status=TIFFReadPixels(tiff,0,y,(char *) tiff_pixels);
+ if (tiff_status == -1)
break;
q=QueueAuthenticPixels(image,0,y,image->columns,1,exception);
if (q == (Quantum *) NULL)
ThrowTIFFException(ResourceLimitError,"MemoryAllocationFailed");
for (y=0; y < (ssize_t) image->rows; y++)
{
- int
- status;
-
register Quantum
*magick_restrict q;
- status=TIFFReadPixels(tiff,0,y,(char *) tiff_pixels);
- if (status == -1)
+ tiff_status=TIFFReadPixels(tiff,0,y,(char *) tiff_pixels);
+ if (tiff_status == -1)
break;
q=QueueAuthenticPixels(image,0,y,image->columns,1,exception);
if (q == (Quantum *) NULL)
register Quantum
*magick_restrict q;
- int
- status;
-
- status=TIFFReadPixels(tiff,(tsample_t) i,y,(char *) tiff_pixels);
- if (status == -1)
+ tiff_status=TIFFReadPixels(tiff,(tsample_t) i,y,(char *) tiff_pixels);
+ if (tiff_status == -1)
break;
q=GetAuthenticPixels(image,0,y,image->columns,1,exception);
if (q == (Quantum *) NULL)
{
for (y=0; y < (ssize_t) image->rows; y++)
{
- int
- status;
-
register Quantum
*magick_restrict q;
unsigned char
*p;
- status=TIFFReadPixels(tiff,0,y,(char *) tiff_pixels);
- if (status == -1)
+ tiff_status=TIFFReadPixels(tiff,0,y,(char *) tiff_pixels);
+ if (tiff_status == -1)
break;
q=QueueAuthenticPixels(image,0,y,image->columns,1,exception);
if (q == (Quantum *) NULL)