I have a PNG image created from VISIO under windows which I tried to use in LaTeX. However, every linux program (LaTeX, Okular, GimP) claims the file is corrupted, however, it shows up fine in Chrome. Is there a way to convert the images (preferably in linux) so that LaTeX, Okular and Gimp understand the file?
Currently on Centos 7, with libpng and libpng12 installed.
convert nn_generic_cell.png nn_generic_cell_converted.png convert: Invalid palette \`nn_generic_cell.png' @ error/png.c MagickPNGErrorHandler/1751. convert: corrupt image \`nn_generic_cell.png' @ error/png.c/ReadPNGImage/3789. convert: no images defined \`nn_generic_cell_converted.png' @ error/convert.c/ConvertImageCommand/3046.