I have an extremely simple routine that takes a 1-BPP source BMP, adds date and time, converts it back to 1-BPP, and saves it.
- Code: Select all
oGdPicture.CreateImageFromFile FnameBMP
oGdPicture.DrawText Dte & " " & Left(Tme, 2) & ":" & Right(Tme, 2), 0, 0, 10
oGdPicture.ConvertTo1Bpp
oGdPicture.SaveAsBmp TempDir & TempNum & "A.bmp"
oGdPicture.CloseNativeImage
Prior to the addition of the code, the source BMP file was able to be viewed and printed from within the client's Eclipse software terminal client ETerm. The new BMP files will not print. The files can be viewed in other programs without issue.
Of course I say it's Eclipse's issue since the new files open elsewhere just fine, and of course they say it's mine since the old files worked fine. Is there something different/unique with the new BMP file header? Is there anything I can do about this? I've requested before and after BMP samples... I'll attach them if/when I receive them.
Thanks,
Dan
