JPG is already compressed. So why would you want to compress again? For PNG you can compress those with online tools as well (PNGCrush, TinyPNG, EXGif, etc etc etc) - sometimes though after 'compressing a PNG', the resulting file can be larger than what you started with - so check first for quality before replacing.