The dcmj2pnm utility reads a DICOM image, converts the pixel data according to the selected image processing options and writes back an image in the well-known ...
Produces a Portable Network Graphics file as output. Color values in PNG files are either eight or sixteen bits wide, so pnmtopng will automatically scale ...
I wrote a C++ program that produces very high resolution pictures (fractals). I use fstream to save all the data in a .ppm file. Everything works fine.
In Linux I am getting .PPM files as the image format, this needs to be converted to PNG and then saved. I was looking at some API's to achieve this conversion ...