I have uploaded fresh versions of npng.c and npng.1 to /n/sources/contrib/lucio/pub/ for further testing.
The fix recommended by Russ is in there (α premultiplication) as well as some (re-)implementation of options. Other than -v (RGBV or CMAP8) output, which looks pretty awful on small icons, it all seems to work at least as well as png(1). The -e option has me bothered, still. 8.npng is for those who seriously need the executable for the 386. What I have not yet fixed is the use of sysfatal() for error reporting, I need to change its name as well as its behaviour. The README file has not been updated either. I have a slightly OT question: is it reasonable that PNG versions of an image may be bigger than their GIF equivalent and (less sursprisingly) much bigger than their JPEG versions? I have not tested this theory, but I have had this reported to me. ++L
