1998-04-21 20:03:57 +00:00
|
|
|
|
1998-06-14 19:43:31 +00:00
|
|
|
Known bugs and suggested enhancements in libpng-1.0.2
|
1998-04-21 20:03:57 +00:00
|
|
|
|
|
|
|
|
1998-06-14 19:43:31 +00:00
|
|
|
1. March 15, 1998 -- OPTIMIZATION -- Kevin Bracey
|
1998-04-21 20:03:57 +00:00
|
|
|
|
|
|
|
Loops need to be optimized everywhere
|
|
|
|
|
1998-06-14 19:43:31 +00:00
|
|
|
Make them count down instead of up -- Kevin Bracey
|
1998-12-29 17:47:59 +00:00
|
|
|
|
1998-06-14 19:43:31 +00:00
|
|
|
Optimizing compilers don't need this, and making
|
|
|
|
the change would be error prone -- Tom Lane, Glenn R-P
|
1998-06-06 20:31:35 +00:00
|
|
|
|
1998-06-14 19:43:31 +00:00
|
|
|
Question whether i-- or --i is better.
|
1998-06-06 20:31:35 +00:00
|
|
|
|
1998-06-14 19:43:31 +00:00
|
|
|
STATUS: Under investigation, postponed until after
|
1998-12-29 17:47:59 +00:00
|
|
|
libpng-1.0.2. About 160 loops will be turned around
|
|
|
|
in libpng-1.0.Nn, for testing.
|
|
|
|
|
|
|
|
2. June 15, 1998 -- BUG -- Evan Light
|
|
|
|
|
|
|
|
Under some conditions, 16-bit grayscale images aren't properly
|
|
|
|
expanded to rgb, because png_read_start_row() returns too small a
|
|
|
|
value of max_pixel_depth when png_set_filler() has also been called.
|
|
|
|
|
|
|
|
STATUS: Fixed in libpng-1.0.2a
|
|
|
|
|
|
|
|
3. June 16, 1998 -- BUG -- Matt McConnell
|
|
|
|
|
|
|
|
When reading interlaced images with a progressive reader, in some
|
|
|
|
cases (interlaced images less than 3 pixels high) some passes are
|
|
|
|
not skipped that should be.
|
|
|
|
|
|
|
|
STATUS: Fixed in libpng-1.0.2a
|
|
|
|
|
|
|
|
4. July 3, 1998 -- ENHANCEMENT -- Glenn R-P
|
|
|
|
|
|
|
|
Added png_set_rgb_to_gray() and png_get_rgb_to_gray_status() functions.
|
|
|
|
|
|
|
|
STATUS: Done in libpng-1.0.2a, awaiting comment on resulting test
|
|
|
|
images.
|
|
|
|
|
|
|
|
5. July 4, 1998 -- ENHANCEMENT -- Glenn R-P
|
|
|
|
|
|
|
|
libpng-1.0.2 and earlier transform colors to gamma=1.0 space for
|
|
|
|
merging with background, and then back to the image's gamma. The
|
|
|
|
bit_depth of the intermediate (gamma=1.0) representation is probably
|
|
|
|
not sufficient. In the typical gamma=1/2.2 situation, the linear
|
|
|
|
pixels need about 4 more bits than the gamma-encoded ones, to avoid
|
|
|
|
loss of precision. A similar situation exists with the rgb_to_gray
|
|
|
|
operation.
|
|
|
|
|
|
|
|
STATUS: under development.
|
|
|
|
|
|
|
|
6. August 20, 1998 -- BUG -- Kevin Bracey
|
|
|
|
|
|
|
|
When using the filler transformation, the filler isn't written
|
|
|
|
into the leftmost pixel of each row.
|
|
|
|
|
|
|
|
Also, the filler operation isn't being done right when writing
|
|
|
|
files. Some code that was removed from png_set_filler() in
|
|
|
|
libpng 1.0.1a shouldn't have been removed.
|
|
|
|
|
|
|
|
STATUS: Fixed in libpng-1.0.2a
|
|
|
|
|
|
|
|
7. August 23, 1998 -- BUG -- Duncan Simpson
|
|
|
|
|
|
|
|
"static pngcharp tIME_string" should be changed to
|
|
|
|
"static char tIME_string[30]" in pngtest.c
|
|
|
|
|
1999-01-07 03:50:16 +00:00
|
|
|
Also -- December 30, 1998 -- there are some misplaced brackets in
|
|
|
|
pngtest.c that cause pngtest to try to write a tIME chunk
|
|
|
|
even when no tIME chunk was present in the source file.
|
|
|
|
|
1998-12-29 17:47:59 +00:00
|
|
|
STATUS: Fixed in libpng-1.0.2a
|
|
|
|
|
|
|
|
8. August 24, 1998 -- BUG -- John Cromer
|
|
|
|
|
|
|
|
Order of byte-swap and shift operations seems to be incorrect in
|
|
|
|
png_do_write_transformations()
|
|
|
|
|
|
|
|
STATUS: Under investigation.
|
|
|
|
|
|
|
|
9. September 11, 1998 -- ENHANCEMENT -- L. Peter Deutsch
|
|
|
|
|
|
|
|
The PNG_NO_STDIO macro should be split into PNG_NO_STDIO
|
|
|
|
and PNG_NO_CONSOLE_STDIO.
|
|
|
|
|
|
|
|
STATUS: Done in libpng-1.0.2a
|
1998-06-06 20:31:35 +00:00
|
|
|
|