Have you considered using PNG ?
here an example the attachment is screen shot with 1793x879 pixel and sizes are :
PNG : 65.7 KB (67,300 bytes)
JPG : 239 KB (245,146 bytes)
BMP : 4.50 MB (4,729,074 bytes)
I had to archive the PNG to prevent the resizing and keep the quality and pixels.
2023-11-29 11_54_32-Create screenshots - Delphi-PRAXiS.zip
ps: for my screenshot daily usage i use GreenShot
https://getgreenshot.org/