andyhill Posted May 1, 2020 Share Posted May 1, 2020 cArea: TUniCanvas; ... cArea.SaveToFile('temp/pain.jpg', tiJPG); // UniGUITypes tiBMP, tiPNG, tiJPG, tiGIF JPG and BMP fail (never bothered with other types). Please advise how to resolve - Thanks in advance Quote Link to comment Share on other sites More sharing options...
Oliver Morsch Posted May 1, 2020 Share Posted May 1, 2020 Use \ instead of / Quote Link to comment Share on other sites More sharing options...
andyhill Posted May 1, 2020 Author Share Posted May 1, 2020 I used both in my testing, the jpg is always made with ZERO bytes. Quote Link to comment Share on other sites More sharing options...
andyhill Posted May 2, 2020 Author Share Posted May 2, 2020 SubmitData copies canvas to CanvasBitmap ONCE, can never update CanvasBitmap again after Submit Data is executed ? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 2, 2020 Share Posted May 2, 2020 20 hours ago, andyhill said: I used both in my testing, the jpg is always made with ZERO bytes. Can you please create a simple testcase? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.