Quantcast

Re: Tiff Digest, Vol 147, Issue 16

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Tiff Digest, Vol 147, Issue 16

lsusanb113
Please STOP sending me these emails !!



Sent from my Sprint Samsung Galaxy Note5.

-------- Original message --------
Date: 11/21/16 14:29 (GMT-05:00)
Subject: Tiff Digest, Vol 147, Issue 16

Send Tiff mailing list submissions to
[hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.maptools.org/mailman/listinfo/tiff
or, via email, send a message with subject or body 'help' to
[hidden email]

You can reach the person managing the list at
[hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Tiff digest..."


Today's Topics:

   1. Re: 12 bit byte format (Aaron Boxer)
   2. Re: 12 bit byte format (Kemp Watson)


----------------------------------------------------------------------

Message: 1
Date: Mon, 21 Nov 2016 14:25:52 -0500
From: Aaron Boxer <[hidden email]>
Subject: Re: [Tiff] 12 bit byte format
To: Kemp Watson <[hidden email]>
Cc: TIFF mailing list <[hidden email]>
Message-ID:
<[hidden email]>
Content-Type: text/plain; charset="utf-8"

On Mon, Nov 21, 2016 at 2:21 PM, Kemp Watson <[hidden email]>
wrote:

> Do you have control of the original writing end of the data? If so, why
> not store as 16-bit? Vastly easier?
>

Thanks. The data is stored in 16 bit, with tag indicating 12 bits used.
But, when I read the data with tifflib, I get the format I mentioned
earlier.
The strip is returned in 12 bit.





>
>
> *W. Kemp Watson*
> *[hidden email] <[hidden email]>*
>
>
> *Objective Pathology Services Limited*
> www.objectivepathology.com
> tel. +1 (416) 970-7284
>
>
> From: <[hidden email]> on behalf of Aaron Boxer <
> [hidden email]>
> Date: Monday, November 21, 2016 at 2:07 PM
> To: TIFF mailing list <[hidden email]>
> Subject: [Tiff] 12 bit byte format
>
> 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, in order of increasing memory address:
> (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)
> _______________________________________________ Tiff mailing list:
> [hidden email] http://lists.maptools.org/mailman/listinfo/tiff
> http://www.remotesensing.org/libtiff/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/mailman/private/tiff/attachments/20161121/32afd494/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Objective-Word[2][23].png
Type: image/png
Size: 6015 bytes
Desc: not available
Url : http://lists.maptools.org/mailman/private/tiff/attachments/20161121/32afd494/attachment-0001.png

------------------------------

Message: 2
Date: Mon, 21 Nov 2016 14:29:42 -0500
From: Kemp Watson <[hidden email]>
Subject: Re: [Tiff] 12 bit byte format
To: Aaron Boxer <[hidden email]>
Cc: TIFF mailing list <[hidden email]>
Message-ID: <D458B53D.3E81A%[hidden email]>
Content-Type: text/plain; charset="iso-8859-1"

But then, aren?t you decompressing 16-bit images?

W. Kemp Watson
[hidden email]


Objective Pathology Services Limited
www.objectivepathology.com
tel. +1 (416) 970-7284


From:  Aaron Boxer <[hidden email]>
Date:  Monday, November 21, 2016 at 2:25 PM
To:  Watson Kemp <[hidden email]>
Cc:  TIFF mailing list <[hidden email]>
Subject:  Re: [Tiff] 12 bit byte format



On Mon, Nov 21, 2016 at 2:21 PM, Kemp Watson <[hidden email]>
wrote:
> Do you have control of the original writing end of the data? If so, why not
> store as 16-bit? Vastly easier?

Thanks. The data is stored in 16 bit, with tag indicating 12 bits used.
But, when I read the data with tifflib, I get the format I mentioned
earlier.
The strip is returned in 12 bit.




>
> W. Kemp Watson
> [hidden email]
>
>
> Objective Pathology Services Limited
> www.objectivepathology.com <http://www.objectivepathology.com>
> tel. +1 (416) 970-7284 <tel:%2B1%20%28416%29%20970-7284>
>
>
> From:  <[hidden email]> on behalf of Aaron Boxer
> <[hidden email]>
> Date:  Monday, November 21, 2016 at 2:07 PM
> To:  TIFF mailing list <[hidden email]>
> Subject:  [Tiff] 12 bit byte format
>
> 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,
> in order of increasing memory address:
> (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)
> _______________________________________________ Tiff mailing list:
> [hidden email]://lists.maptools.org/mailman/listinfo/tiffhttp://w
> ww.remotesensing.org/libtiff/



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/mailman/private/tiff/attachments/20161121/d50803d0/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Objective-Word[2][23].png
Type: image/png
Size: 6015 bytes
Desc: not available
Url : http://lists.maptools.org/mailman/private/tiff/attachments/20161121/d50803d0/attachment.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Objective-Word[2][24].png
Type: image/png
Size: 6015 bytes
Desc: not available
Url : http://lists.maptools.org/mailman/private/tiff/attachments/20161121/d50803d0/attachment-0001.png

------------------------------

_______________________________________________
Tiff mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/tiff

End of Tiff Digest, Vol 147, Issue 16
*************************************

_______________________________________________
Tiff mailing list: [hidden email]
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
Loading...