-
2016.11.21 19:36 "Re: [Tiff] 12 bit byte format", by Aaron Boxer
-
2016.11.21 19:29 "Re: [Tiff] 12 bit byte format", by Kemp Watson
- 2016.11.21 19:07 "[Tiff] 12 bit byte format", by Aaron Boxer
- 2016.11.21 19:32 "Re: [Tiff] 12 bit byte format", by Aaron Boxer
- 2016.11.21 19:43 "Re: [Tiff] 12 bit byte format", by Bob Friesenhahn
- 2016.11.21 19:42 "Re: [Tiff] 12 bit byte format", by Aaron Boxer
-
2016.11.21 19:29 "Re: [Tiff] 12 bit byte format", by Kemp Watson
2016.11.21 19:20 "Re: [Tiff] 12 bit byte format", by Aaron Boxer
On Mon, Nov 21, 2016 at 2:07 PM, Aaron Boxer <boxerab@gmail.com> wrote:
I am decompressing 12 bit RGB images, on little endian system.
Each channel is stored in 3 nibbles: for example red is stored as
0xR2 R1 R0
where R2 is the largest address, R0 is the smallest.
When reading a strip, the nibbles are stored in the memory buffer as follows,
> (brackets indicate bytes)
Lowest address.... (R1 R2) (G2 R0) (G0 G1) (B1 B2) (R2 B0) (R1 R0)....
Is it possible for libtiff to store the nibbles as follows:
R0 R1 R2 G0 G1 G2 B0 B1 B2............
(sorry for the non-standard notation here)
Is this related to the fill order?