[Insight-users] Loss of bit depth in converting fron png to bmp

rg32@njit.edu rg32 at njit . edu
Fri, 03 Oct 2003 09:15:07 -0400 (EDT)


Hi all ,
I'm working on a program which has to process a png image and return a bmp 
image.For doing the conversion i'm using the foll. posting.
http://www . itk . org/pipermail/insight-users/2003-June/003952 . html
The problem is that I lose the bit depth after having done this conversion.The 
bit depth of the png image is 32 while for the bmp is 8.Is there any way to 
avoid this?
-Rashmi