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
September 2004

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

2004.09.16 19:12 "BigTIFF Tag Value Count issue", by Joris Van Damme
2004.09.16 19:23 "Re: BigTIFF Tag Value Count issue", by Frank Warmerdam
2004.09.16 19:36 "Re: BigTIFF Tag Value Count issue", by Joris Van Damme
2004.09.16 19:38 "Re: BigTIFF Tag Value Count issue", by Frank Warmerdam
2004.09.16 20:08 "Re: BigTIFF Tag Value Count issue", by Joris Van Damme
2004.09.17 01:14 "Re: BigTIFF Tag Value Count issue", by Bob Friesenhahn
2004.09.16 22:39 "Re: BigTIFF Tag Value Count issue", by Ian Ameline
2004.09.17 00:09 "Re: BigTIFF Tag Value Count issue", by Bob Friesenhahn
2004.09.17 00:32 "Re: BigTIFF Tag Value Count issue", by Joris Van Damme
2004.09.17 01:54 "Re: BigTIFF Tag Value Count issue", by Bob Friesenhahn
2004.09.17 02:29 "Re: BigTIFF Tag Value Count issue", by Bob Friesenhahn
2004.09.17 02:58 "Re: BigTIFF Tag Value Count issue", by Bob Friesenhahn
2004.09.17 03:08 "Re: BigTIFF Tag Value Count issue", by Chris Cox
2004.09.17 04:20 "Re: BigTIFF Tag Value Count issue", by Bob Friesenhahn
2004.09.17 04:39 "Re: BigTIFF Tag Value Count issue", by Chris Cox
2004.09.17 11:25 "Re: BigTIFF Tag Value Count issue", by Joris Van Damme
2004.09.17 14:31 "Re: BigTIFF Tag Value Count issue", by Bob Friesenhahn
2004.09.17 14:40 "Re: BigTIFF Tag Value Count issue", by Frank Warmerdam
2004.09.17 15:02 "Re: BigTIFF Tag Value Count issue", by Bob Friesenhahn
2004.09.17 21:41 "Re: BigTIFF Tag Value Count issue", by Chris Cox
2004.09.17 14:53 "Re: BigTIFF Tag Value Count issue", by Joris Van Damme
2004.09.17 15:06 "Re: BigTIFF Tag Value Count issue", by Bob Friesenhahn
2004.09.17 21:36 "Re: BigTIFF Tag Value Count issue", by Chris Cox
2004.09.17 05:46 "Re: BigTIFF Tag Value Count issue", by Frank Warmerdam
2004.09.17 11:40 "Re: BigTIFF Tag Value Count issue", by Joris Van Damme
2004.09.17 13:11 "Re: BigTIFF Tag Value Count issue", by Frank Warmerdam
2004.09.17 13:34 "Re: BigTIFF Tag Value Count issue", by Joris Van Damme
2004.09.17 15:10 "Re: BigTIFF Tag Value Count issue", by Fernando Loygorri
2004.09.17 15:10 "Re: BigTIFF Tag Value Count issue", by Bob Friesenhahn
2004.09.17 15:55 "Re: BigTIFF Tag Value Count issue", by Fernando Loygorri
2004.09.17 16:00 "Re: BigTIFF Tag Value Count issue", by Frank Warmerdam
2004.09.17 16:33 "Re: BigTIFF Tag Value Count issue", by Fernando Loygorri
2004.09.17 16:13 "Re: BigTIFF Tag Value Count issue", by Joris Van Damme
2004.09.17 16:34 "Re: BigTIFF Tag Value Count issue", by Fernando Loygorri
2004.09.17 16:43 "Re: BigTIFF Tag Value Count issue", by Bob Friesenhahn
2004.09.17 21:48 "Re: BigTIFF Tag Value Count issue", by Ross A Finlayson
2004.09.17 22:15 "Re: BigTIFF Tag Value Count issue", by Bob Friesenhahn
2004.09.17 21:41 "Re: BigTIFF Tag Value Count issue", by Chris Cox
2004.09.17 11:38 "Re: BigTIFF Tag Value Count issue", by Joris Van Damme
2004.09.17 06:35 "Re: BigTIFF Tag Value Count issue", by Rob Tillaart
2004.09.17 11:43 "Re: BigTIFF Tag Value Count issue", by Joris Van Damme
2004.09.17 12:46 "Re: BigTIFF Tag Value Count issue", by Rob Tillaart
2004.09.17 12:55 "Re: BigTIFF Tag Value Count issue", by Joris Van Damme
2004.09.17 13:20 "Re: BigTIFF Tag Value Count issue", by Rob Tillaart
2004.09.17 13:47 "Re: BigTIFF Tag Value Count issue", by Joris Van Damme
2004.09.17 13:08 "Re: BigTIFF Tag Value Count issue", by Ross A Finlayson
2004.09.19 12:31 "Re: BigTIFF Tag Value Count issue", by Andrey Kiselev
2004.09.19 16:43 "Re: BigTIFF Tag Value Count issue", by Joris Van Damme
2004.09.20 16:18 "Re: BigTIFF Tag Value Count issue", by Ed Grissom
2004.09.20 22:05 "Re: BigTIFF Tag Value Count issue", by Steve Carlsen
2004.09.20 23:09 "Re: BigTIFF Tag Value Count issue", by Bob Friesenhahn

2004.09.17 14:40 "Re: BigTIFF Tag Value Count issue", by Frank Warmerdam

> > If I'm not mistaking, on most processors there is a gain from aligning 
> > of data, whilst things still work if data is not aligned. Thus, it pays 
> > to build...
> 
> With some processors (particularly RISC type processors), attempting to 
> read unaligned data results in a program crash.  Probably Intel x86 is 
> not one of those processors.

TIFFers,

Which is why, in general, the reading code ignores native file alignment,
and just memcpy()'s stuff into the proper variables before accessing it.
I don't think alignment is going to help libtiff itself very much because
libtiff can't depend on it and remain portable.  We could try and have
multiple code paths for some stuff, with higher speed "aligned" cases when
possible but that complicates the code alot and I am not sure there would
be much speed benefit.

I would add that speed in processing the tag directory itself is really
not that big an issue compared to loading referenced tag data, and of
course the actual image data.

That said, other libraries or TIFF writers might be able to benefit
somewhat from proper alignment.

I would also caution that bulking up the directory entry size alot will
add non-trivially to the bulk of very small TIFF images which can already
be dominated by the directory stuff.  Of course, very small images is not
generally handled via TIFF. I would be more concerned about this for formats
like PNG that might be widely used for stuff like icons.

On some of the issues like 32-bit datatypes where concepts about complex
data types being introduced.  I feel like we are stepping towards stuff
that could hugely complicate our effort.  In my mind, BigTIFF is about a
near-minimal extension to TIFF to support very large images.  I have seen
lots of image format specification efforts go off the rails in an effort
to be over general and I hope our minor revision to support big files
won't fall into that sort of second-system effect.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent