AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
August 2017

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2017.08.30 16:07 "problems saving BigTIFF format", by Paul Hemmer
2017.08.30 16:17 "Re: problems saving BigTIFF format", by Kemp Watson
2017.08.30 16:27 "Re: problems saving BigTIFF format", by Paul Hemmer
2017.08.30 16:47 "Re: problems saving BigTIFF format", by Kemp Watson
2017.08.30 17:11 "Re: problems saving BigTIFF format", by Bob Friesenhahn
2017.08.30 17:14 "Re: problems saving BigTIFF format", by Paul Hemmer
2017.08.30 17:36 "Re: problems saving BigTIFF format", by Bob Friesenhahn
2017.08.30 16:37 "Re: problems saving BigTIFF format", by Bob Friesenhahn
2017.08.30 17:55 "Re: problems saving BigTIFF format", by Paul Hemmer
2017.08.30 18:32 "Re: problems saving BigTIFF format", by Bob Friesenhahn
2017.08.31 10:16 "Re: problems saving BigTIFF format", by <jcupitt@gmail.com>
2017.09.01 21:40 "Re: problems saving BigTIFF format", by Paul Hemmer
2017.08.30 17:38 "problems saving BigTIFF format", by Roger Leigh
2017.09.01 14:06 "Re: problems saving BigTIFF format", by Paul Hemmer

2017.09.01 14:06 "Re: problems saving BigTIFF format", by Paul Hemmer

Thanks everyone for the help. Bob, Kemp, great info and assistance.


I ended up rebuilding everything from a clean slate in the same MSVC2015
environment and now the 4GB+ TIFF files can be opened in supported viewers.


Have a good weekend!


________________________________
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
Sent: Thursday, August 31, 2017 9:28 AM
To: Paul Hemmer
Subject: Re: [Tiff] problems saving BigTIFF format

On Thu, 31 Aug 2017, Paul Hemmer wrote:

> Hi Bob,
>
>
> Using 64bit Windows 10, MSVC 2015.. My colleague actually did the
> compile from the sources he pulled down from the LibTIFF site.  Are
> there precompiled binaries available anywhere online?
>
> Agreed, it is suspect that it claimed to be exactly 4.0GB in size, it
> should have been more like 4.6

A key factor is if 'tif_unix.c' or 'tif_win32.c' is used in the build.
For recent enough Visual Studio (perhaps MSVC 2005 and later), I think
that 'tif_unix.c' can support large files by using special large file
(64-bit offset) versions of the stdio functions.  I think that the
'tif_win32.c' source file should support large files by using the
WIN32 specific I/O functions.  GraphicsMagick provides its own I/O
functions to libtiff and uses TIFFClientOpen(), and its own I/O
functions use C stdio with the 64-bit versions of the functions, or
memory mapped files.

You should definitely be using the exact same compiler and compiler
options to build libtiff as you are using for your own application.
Visual Studio runtimes are very fragile.

Make sure that you are using libtiff version 4.0.8 since that is the
current release.

Bob
--
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
[http://www.simplesystems.org/users/bfriesen/photo-animated.gif]<http://www.simplesystems.org/users/bfriesen/>

Bob Friesenhahn's Mindless Babble - Simple
Systems<http://www.simplesystems.org/users/bfriesen/>
www.simplesystems.org
Bob Friesenhahn's Personal Home Page ... Collection Of Mindless Babble. My
principal focus is maintaining the GraphicsMagick image processing package.



GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
GraphicsMagick Image Processing System<http://www.graphicsmagick.org/>
www.graphicsmagick.org
GraphicsMagick is a robust collection of tools and libraries to read, write,
and manipulate an image in any of the more popular image formats including
GIF, JPEG, PNG ...