From c7a6a451a5c277556e28dfb3b4b943719cdda7ff Mon Sep 17 00:00:00 2001 From: Eirik Aavitsland Date: Thu, 16 Mar 2017 14:13:57 +0100 Subject: Extend support for tiled tiff files to all color formats This commit extends the recently added support for tiled tiff images of color index format to also cover grayscale and mono images. RGB images were already covered, since the libtiff API used for those handles tiled images transparently. This commit also simplifies the tiff read() function by sharing common code among the different formats. [ChangeLog][TIFF] Extend support for tiled tiff files to all color formats Change-Id: I13f94bbca65dd6a35384a415906034e245ad8b79 Reviewed-by: Allan Sandfeld Jensen --- tests/shared/images/tiff/original_grayscale.tiff | Bin 0 -> 4432 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/shared/images/tiff/original_grayscale.tiff (limited to 'tests/shared/images/tiff/original_grayscale.tiff') diff --git a/tests/shared/images/tiff/original_grayscale.tiff b/tests/shared/images/tiff/original_grayscale.tiff new file mode 100644 index 0000000..174c2cf Binary files /dev/null and b/tests/shared/images/tiff/original_grayscale.tiff differ -- cgit v1.2.3