diff --git a/src/tiff_reader.cpp b/src/tiff_reader.cpp index 2a0baf9b3..99e9fe525 100644 --- a/src/tiff_reader.cpp +++ b/src/tiff_reader.cpp @@ -399,12 +399,13 @@ image_any tiff_reader::read_any_gray(std::size_t x0, std::size_t y0, std::siz read_tiled(x0, y0, data); return image_any(std::move(data)); } - else if (read_method_ == stripped) - { - image_type data(width, height); - read_stripped(x0, y0, data); - return image_any(std::move(data)); - } + // TODO: temp disable and default to `scanline` method for stripped images. + //else if (read_method_ == stripped) + //{ + // image_type data(width, height); + // read_stripped(x0, y0, data); + // return image_any(std::move(data)); + //} else { TIFF* tif = open(stream_);