Commits

Anonymous committed a403fcb
  • Participants
  • Parent commits bd8485c

Comments (0)

Files changed (1)

File hachoir-parser/hachoir_parser/image/png.py

     return "Palette: %u colors" % (parent["size"].value // 3)
 
 def gammaParse(parent):
-    yield UInt32(parent, "gamma", "Gamma (x10,000)")
+    yield UInt32(parent, "gamma", "Gamma (x100,000)")
 def gammaValue(parent):
-    return float(parent["gamma"].value) / 10000
+    return float(parent["gamma"].value) / 100000
 def gammaDescription(parent):
     return "Gamma: %.3f" % parent.value