16 Bit Png Image. Png supports palette based images with palettes of 24 bit rgb or 32 bit rgba colors. The image function can display 8 or 16 bit images directly without converting them to double precision.
A 16 bit image has 65 536 levels of colors and tones. This seems like a pretty basic task so i would expect that it should be covered by scipy but scipy misc imsave only does 8 bits. Portable network graphics png officially pronounced p ɪ ŋ ping more commonly pronounced ˌ p iː ɛ n ˈ dʒ iː pee en jee is a raster graphics file format that supports lossless data compression png was developed as an improved non patented replacement for graphics interchange format gif.
Convert png bit depth.
Now that s a significant jump from an 8 bit image. Convert between 8 bit 16 bit 24 bit and 32 bit png depths. Just import your png file in the editor on the left and you will instantly get a resized png on the right. To specify rgb with 16bit per channel data use bit depth 16 and color type png color type rgb.