From 98a779afe7f316562e06eee7221d29003a6f9013 Mon Sep 17 00:00:00 2001 From: Cristy Date: Mon, 5 Sep 2016 12:50:08 -0400 Subject: [PATCH] https://github.com/ImageMagick/ImageMagick/issues/262 --- coders/tiff.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/coders/tiff.c b/coders/tiff.c index df0669c62..ff57caa94 100644 --- a/coders/tiff.c +++ b/coders/tiff.c @@ -3476,8 +3476,6 @@ static MagickBooleanType WriteTIFFImage(const ImageInfo *image_info, (image_info->interlace == PartitionInterlace)) (void) TIFFSetField(tiff,TIFFTAG_PLANARCONFIG,PLANARCONFIG_SEPARATE); rows_per_strip=(uint32) image->rows; - if (TIFFScanlineSize(tiff) != 0) - rows_per_strip=TIFFDefaultStripSize(tiff,0); option=GetImageOption(image_info,"tiff:rows-per-strip"); if (option != (const char *) NULL) rows_per_strip=(size_t) strtol(option,(char **) NULL,10); -- 2.40.0