<font><font face="verdana,sans-serif">Hi everyone,</font></font><div><font><font face="verdana,sans-serif"><br></font></font></div><div><font><font face="verdana,sans-serif">I have noticed that ImageFileWriter, when writing png format, writes wrong pixel size information. It is not completely wrong, but it is not in accordance with <a href="http://www.libpng.org/pub/png/book/chapter11.html#png.ch11.div.8">png specification</a>.</font></font></div>
<div><font><font face="verdana,sans-serif"><br></font></font></div><div><font><font face="verdana,sans-serif">When reading such files with OpenCV, I get following warning:</font></font></div><div><font face="verdana, sans-serif"><i>libpng warning: Invalid sCAL ignored: invalid unit</i></font></div>
<div><font face="verdana, sans-serif">This is not just annoying and clutter-causing, but displaying it for every single image slows down my OpenCV processing.</font></div><div><font face="verdana, sans-serif"><br></font></div>
<div><font face="verdana, sans-serif">I used XnView to batch-edit the extracted slices and set some scaling which adheres to the specification to get rid of this warning.</font></div><div><font face="verdana, sans-serif"><br>
</font></div><div><font face="verdana, sans-serif">Now the question: should I correct this bug, or submit a bug report? My last <a href="http://review.source.kitware.com/8809">bug-fixing</a> ended non-gloriously :(</font></div>