1. Victor Stinner
  2. hachoir
  3. Issues
Issue #15 resolved

Incorrect multiplier for gamma value in PNG parser

created an issue

In hachoir-parser png.py, lines 77 and 79 multiply/divide the gamma value by 10,000. According to the specs, the multiplier should be 100,000.

See http://www.libpng.org/pub/png/spec/1.2/png-1.2-pdg.html#C.gAMA ;


I'd fix it, but I'm new to this and don't want to mess it up.


Comments (2)

  1. Log in to comment