Hi,

I'm trying to create a sub that can convert 16 bit/pixel data into a 16 bit grayscale .png image

I don't want to use the image/picture boxes in VB6 because they have a tendency to drop a lot of color depth

Just something that takes the raw data and compiles it directly to a (the most basic grayscale) .png file, without any of those gdi/gibit interfaces.