Topic: How to add a jpg image to the log?
I see that LogBitmap expect a TBitmap.
How can I add a jpg image to the log, which the viewer will display?
A TBitmap is just too big to add when it is a screenshot of a 1920x1080 screen.
You are not logged in. Please login or register.
I see that LogBitmap expect a TBitmap.
How can I add a jpg image to the log, which the viewer will display?
A TBitmap is just too big to add when it is a screenshot of a 1920x1080 screen.
Hello!
You can just use LogJpeg for this. This functions expects a TJpegImage object and displays it in the same viewer as the bitmap function. There are also LogJpegFile and LogJpegStream functions for logging jpeg files or streams, respectively.
Regards,
Tobias
Hello!
You can just use LogJpeg for this. This functions expects a TJpegImage object and displays it in the same viewer as the bitmap function. There are also LogJpegFile and LogJpegStream functions for logging jpeg files or streams, respectively.
Regards,
Tobias
I must have been blind, did not see the functions ![]()
Sorry to waste your time with that ![]()
Don't worry, I'm happy to help. Have a nice weekend! :-)
Regards,
Tobias