# How to size the image resolution in Latex?

I'm using overleaf to write the report of a big group project. There are lots of figures in the file. Thing is, I noticed that the pdf file output is becoming larger and larger due to the large png files that are imported. (already 30MB with only 17 pages) Most of the figures are scaled fairly small so I don't actually need the full resolution available.
Is there any way latex can change their resolution for me when I compile? In best case scenario, set their resolution based on the eventual size in the pdf file?
Resizing them all manually is not really an option because there are about 40-60 figures already.

\begin{figure}