The std_huff_tables() function only provides default huffman tables for
8bit images, not 12bit since the specification did not include default
tables for 12bit. However, in some environments like libtiff it is
difficult to compute optimal huffman tables for an image before writing it.
For that reason it is desirable to have appropriate 12bit huffman tables
when built with BITS_IN_JSAMPLE=12 mode.
Frank Warmerdam
Core Library
None
Public
|
Date: 2009-07-25 04:20 I have regenerated the tables in such a way as to build broader "dc" |
|
Date: 2009-06-23 13:36 There was no objection, so I have committed this in jcparam.c 1.2. |
|
Date: 2009-06-21 20:09 For reference, I used the following additional code in |
|
Date: 2009-06-21 20:07 I developed a set of huffman by bulding a symbol histogram for the mandrill |
| Filename | Description | Download |
|---|---|---|
| std.patch | patch aginst jcparam.c to add 12bit table. | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| close_date | - | 2009-06-23 13:36 | warmerda |
| resolution_id | None | 2009-06-23 13:36 | warmerda |
| status_id | Open | 2009-06-23 13:36 | warmerda |
| File Added | 331824: std.patch | 2009-06-21 20:07 | warmerda |