Compressing images for government job applications

Recruitment portals often ask for a photo and signature within small, specific size ranges.