- mc_web_map was storing colors with an alpha of 0
- update the URLs for libpng and zlib
- Fixed empty string handling for tt font driver.
-
+ - Fixed tiff handling of images all contained in a
+ single strip (rowsperstrip = -1) and added a hack
+ for images missing the rowsperstrip tag.
+
=================================================================
For latest versions check the Imager-devel pages:
}
} else {
uint32 rowsperstrip, row;
- TIFFGetField(tif, TIFFTAG_ROWSPERSTRIP, &rowsperstrip);
- mm_log((1, "i_readtiff_wiol: rowsperstrip=%d\n", rowsperstrip));
-
+ int rc = TIFFGetField(tif, TIFFTAG_ROWSPERSTRIP, &rowsperstrip);
+ mm_log((1, "i_readtiff_wiol: rowsperstrip=%d rc = %d\n", rowsperstrip, rc));
+
+ if (rc != 1 || rowsperstrip==-1) {
+ rowsperstrip = height;
+ }
+
raster = (uint32*)_TIFFmalloc(width * rowsperstrip * sizeof (uint32));
if (!raster) {
i_img_destroy(im);