Skip to content
DEVPANTRY.COM

Passport Photo Resizer & KB Compressor

Choose pixel dimensions and a target KB size for a photo. Preview the exported JPEG and its actual size before downloading.

Set a JPEG size budget and optional pixel dimensions. The result reports whether the budget was reached.

Prepare a photo for an upload form

  1. Select a photo and enter the form’s maximum size in KB.
  2. Optionally set output width and height in pixels. Using both dimensions center-crops the image to that shape.
  3. Compress, review the preview and actual dimensions, and download the JPEG.

Output and file-size behavior

JPEG quality is reduced toward your requested file size. Some targets cannot be reached at the chosen dimensions; the result states whether the budget was met. This tool does not verify passport or visa requirements—use the dimensions and composition rules supplied by your application.

Related tools and implementation

Compress source images, resize an image, or read the PDF processing guide.