<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hi Cory,</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Thanks to your advice. I posted the issue.</div><div class=""><<a href="https://gitlab.kitware.com/paraview/paraview/issues/17151" class="">https://gitlab.kitware.com/paraview/paraview/issues/17151</a>></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Magician</div><div class=""><br class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">On Feb 4, 2017, at 01:29, Cory Quammen <<a href="mailto:cory.quammen@kitware.com" class="">cory.quammen@kitware.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">I was able to reproduce the problem you are seeing. That is odd.<br class=""><br class="">Would you mind opening an issue on the bug tracker?<br class=""><a href="https://gitlab.kitware.com/paraview/paraview/issues" class="">https://gitlab.kitware.com/paraview/paraview/issues</a><br class=""><br class="">Thanks,<br class="">Cory<br class=""><br class="">On Fri, Feb 3, 2017 at 12:53 AM, Magician <f_magician@mac.com> wrote:<br class=""><blockquote type="cite" class="">Hi all,<br class=""><br class=""><br class="">I have some 2D VTKImageData and export them as PNG images using 'Save Data...'.<br class=""><br class="">I'm trying to get color values from original sources and convert them<br class="">to 8 or 16-bit color values with Programmable Filter.<br class="">But if I apply 'Save Data...' to the results, no PNG images exported<br class="">and get warnings as below:<br class=""><br class=""><blockquote type="cite" class="">Warning: In /Users/kitware/buildbot-slave/b99e1795/source-paraview/VTK/IO/Image/vtkPNGWriter.cxx, line 231<br class="">vtkPNGWriter (0x6000005a8260): PNGWriter only supports unsigned char and unsigned short inputs<br class=""></blockquote><br class="">The attached dataset is a tiny sample. (including no dtype converter, but reproduces same problems)<br class="">The data type of the PNGImage value of ProgrammableFilter1 should be 'unsigned char',<br class="">but we may not be able to save it as a PNG image.<br class=""><br class="">Is it a bug?<br class=""><br class=""><br class="">Magician<br class=""><br class="">_______________________________________________<br class="">Powered by www.kitware.com<br class=""><br class="">Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<br class=""><br class="">Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView<br class=""><br class="">Search the list archives at: http://markmail.org/search/?q=ParaView<br class=""><br class="">Follow this link to subscribe/unsubscribe:<br class="">http://public.kitware.com/mailman/listinfo/paraview<br class=""><br class=""></blockquote><br class=""><br class=""><br class="">-- <br class="">Cory Quammen<br class="">Staff R&D Engineer<br class="">Kitware, Inc.<br class=""></div></blockquote></div><br class=""></body></html>