[Insight-users] PNGwriter writes wrong scaling information

Bill Lorensen bill.lorensen at gmail.com
Mon Dec 10 10:26:54 EST 2012


Looks like ti should be fixed. But if you submit a gerrit patch, make
sure oyu also supply a test or modify an existing test.

The lack of a test is why your previous gerrit patch has not been approved.

Bill

On Mon, Dec 10, 2012 at 8:35 AM, Dženan Zukić <dzenanz at gmail.com> wrote:
> Hi everyone,
>
> 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 png specification.
>
> When reading such files with OpenCV, I get following warning:
> libpng warning: Invalid sCAL ignored: invalid unit
> This is not just annoying and clutter-causing, but displaying it for every
> single image slows down my OpenCV processing.
>
> I used XnView to batch-edit the extracted slices and set some scaling which
> adheres to the specification to get rid of this warning.
>
> Now the question: should I correct this bug, or submit a bug report? My last
> bug-fixing ended non-gloriously :(
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the Insight-users mailing list