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 1994

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

1994.09.16 04:17 "TIFF Bit Ordering Versus Fill Order", by John M Davison
1994.09.16 17:42 "Re: TIFF Bit Ordering Versus Fill Order", by Sam Leffler
1994.09.19 06:55 "Re: TIFF Bit Ordering Versus Fill Order", by Karsten Spang
1994.09.19 15:26 "Re: TIFF Bit Ordering Versus Fill Order", by Sam Leffler
1994.09.19 18:48 "Re: TIFF Bit Ordering Versus Fill Order", by Niles Ritter
1994.09.19 22:48 "Re: TIFF Bit Ordering Versus Fill Order", by Sam Leffler
1994.09.20 00:03 "Re: TIFF Bit Ordering Versus Fill Order", by Joe Moss
1994.09.20 07:00 "Re: TIFF Bit Ordering Versus Fill Order", by Fredrik Lundh
1994.09.19 23:31 "Re: TIFF Bit Ordering Versus Fill Order", by Jim Arnold

1994.09.20 00:03 "Re: TIFF Bit Ordering Versus Fill Order", by Joe Moss

> From: Sam Leffler <sam@flake.asd.sgi.com>
> 
>     From:  ndr@tazboy.JPL.NASA.GOV (Niles Ritter)
> 
>     #include <stdio.h>
>     
>     struct HighLowBits {
>          unsigned int highbit:  1;
>          unsigned int lowbits:  7;
>     };
> 
> I think this may do the trick.  I'll have to verify it on a PC.
>

On a 486 based machine running SVR4, compiling with both the
native cc and with gcc, the result is:

	This is a LittleEndian machine
	Byte with highbit set has value 1


-- 
Joe V. Moss         | Hm: joe@italia.rain.com  Wk: joe@morton.rain.com
Morton & Associates |--------------------------------------------------
7478 S.W. Coho Ct.  | label  .l -text "Insert cute quote here"
Tualatin, OR 97062  | button .b -text "OK" -command exit; pack .l .b