[Geeqie-devel] [PATCH 1/1] Properly open and work with large TIFF files.

2016-06-19 Thread Martin Pelikán
Any file between 2^31 and 2^32 bytes shouldn't have its size displayed as a negative number. Viewing more than 32768 pixels in each dimension is only a matter of using 64bit arithmetic when calculating allocation sizes and pointers into that memory. Multiplying is always suspicious. While there, m

[Geeqie-devel] [PATCH 1/1] Open BigTIFF (64-bit) files using the custom TIFF loader.

2016-12-03 Thread Martin Pelikán
In the worst case, old libtiff versions will return a different error. See http://www.awaresystems.be/imaging/tiff/bigtiff.html for more info. --- src/image-load.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/image-load.c b/src/image-load.c index 0a4cda6d..bafc16c5 100644 --- a/src/im