Converting IMNET (IMT) Images
Posted: Thu Apr 28, 2011 6:02 pm
I'm trying to convert some old IMNET (IMT) Image Files to Tiff. When I attempt to read the files in VB6 using the following code I get an Unknown format error (-2147467259). I have confirmed that the file does open with a viewer that supports IMT file format but would prefer not to use that product since this is a one time conversion. I also confirmed that if I try to open a TIFF file it does not get an error. Is IMT image file format supported? Do I have to specify the type in the extension of the filename--I tried that but it didn't make a difference?
A portion of the code I'm using is:
Dim oGFL as New GflAx.GfAx
oGFL.LoadBitmap strFullPath
oGFL.SaveCompression = AX_G4
oGFL.SaveFormat = AX_TIFF
oGFL.SaveBitmap strNewPath
oGFL.FreeBitmap
Thanks
A portion of the code I'm using is:
Dim oGFL as New GflAx.GfAx
oGFL.LoadBitmap strFullPath
oGFL.SaveCompression = AX_G4
oGFL.SaveFormat = AX_TIFF
oGFL.SaveBitmap strNewPath
oGFL.FreeBitmap
Thanks