Known bugs and suggested enhancements in libpng-1.0.1 1. March 13, 1998 -- BUG -- pngtrans.c: row_info->channels should be updated -- row_info->color_type should be updated -- STATUS: I think this is all fixed in libpng-1.0.1a but needs to be tested. 2. March 14, 1998 -- ENHANCEMENT -- Glenn We should add the G>GA, G>GX, G>AG, and G>XG transformations in png_do_read_filler() STATUS: Implemented in libpng-1.0.1a 3. March 14, 1998 -- BUG? -- Greg Roelofs pngrtran.c: if-test for channels/FILLER may be incorrect STATUS: Under investigation 4. March 15, 1998 -- BUG -- Kevin Bracey pngwtran.c: line 306: loop should count to row_info->width, not to row_info->width*row_info->channnels STATUS: Fixed in libpng-1.0.1a 5. March 15, 1998 -- OPTIMIZATION -- Kevin Bracey Loops need to be optimized everywhere a. Make them count down instead of up -- Kevin Bracey Optimizing compilers don't need this, and making the change would be error prone -- Tom Lane, Glenn R-P Question whether i-- or --i is better. STATUS: Under investigation. b. Remove products and structure members from loop tests -- Glenn R-P Can be accomplished without messing with loop guts. This was shown to be effective on optimized SGI compiler: replace png_uint_32 i; for(i=0; i < s->a*s->b; i++) with png_uint_32 i, count; istop = s->a*s->b; for(i=0; idate % 31" is wrong, should be "ptime->date % 32". STATUS: Fixed in libpng-1.0.1a