Magento2: how to auto add grey bg color under photo

Always to magento catalog I upload image .jpg with white bg color. enter image description here

Does anyone know how I can now change all products background for transparent, and add a gray background for all products under the photo?

Like this: s