How to increase the quality of product photos JPG Magento 2.3.4?

I’m using Magento 2.3.4. my uploaded product images quantity is very low because of compression. my product images size in 30 to 40 kbs. can someone help me increase images quantity?