Works for JPG, PNG and WebP
Photos compress best as JPG or WebP. Screenshots and graphics stay sharp as PNG or WebP. At a 200 KB target most images reach it with compression alone.
If a PNG will not shrink enough
A detailed photo saved as PNG is very large. Converting it to JPG first, then compressing, is the reliable way to reach 200 KB.