- changed status to resolved
TImage.Bitmap.SaveToFile() function does not work
TImage.Bitmap.SaveToFile() function does not work.
It says "Saving bitmap failed."
Comments (10)
-
repo owner -
reporter I changed the Form_Main.Image.Bitmap.SaveToFile('test.bmp'); to Form_Main.Image.Bitmap.SaveToFile('test.jpg'); and it worked fine.
-
reporter The Form_Main.Image.Bitmap.SaveToFile('test.bmp') works on macOS also.
-
reporter Form_Main.Image.Bitmap.LoadFromFile('test.bmp'); works fine on Linux64 also.
Please consider to repair the Image.Bitmap.SaveToFile to support .bmp file.
-
repo owner - changed status to open
-
repo owner - changed status to resolved
1.01
-
reporter - changed status to open
I did try the v1.01 and I have got the same error message ("Saving bitmap failed."), but it created a 0 byte filesize .bmp file.
-
repo owner That's really weird, we've checked your example and it works just fine. It is weird also because you still got an error message.
-
repo owner - changed status to resolved
Eventually we've found an issue. 1.01 built from 1.0 sources. Please re-download 1.01 again.
-
reporter Thank you for your work on it. I installed the 'new' 1.01 and it worked fine.
- Log in to comment
Linux doesn't support BMP. Bmp is Windows specific format.