Local Tools
LOCAL · API · AEO

Exam Photo and Signature Resizer

Resize a photo or signature to the exact pixels and KB a form asks for

100% Client-Side (0 Bytes Uploaded) Drive Vault
Loading local browser engine...

About Exam Photo and Signature Resizer & FAQs

Resize and compress a photo or signature for exam, job and admission forms. Choose a preset such as 200 × 230 px at 20 to 50 KB or 3.5 × 4.5 cm at 300 dpi, or enter your own size, position the crop, and get a JPG inside the required KB range. The picture never leaves your browser.

How does it hit a size range in KB?

After cropping to the target pixels, it saves the JPG at full quality. If that is above the maximum, it searches between quality 5 and 100, halving the gap seven times, and keeps the highest quality that fits. If even the lowest quality is too big, it reduces the pixel size by 15% at a time and tells you.

What happens if the picture is smaller than the minimum KB?

Small images such as a 140 × 60 signature often compress to less than the minimum. The tool then adds filler bytes in a comment block inside the JPG until the file is about half a kilobyte above the minimum. Image viewers ignore that block, so the picture is unchanged.

How are centimetres converted to pixels?

Pixels = centimetres ÷ 2.54 × dpi, rounded to a whole number. At 300 dpi, 3.5 cm is 3.5 ÷ 2.54 × 300 = 413 pixels and 4.5 cm is 531 pixels. The dpi value is also written into the file so that it prints at the stated size.

Extensible Module

Standalone component src/tools/students/ExamPhotoResizerTool.tsx; add presets to PRESETS. JPEG padding and dpi writing are in src/tools/students/jpeg.ts.

Module path: src/tools/exam-photo-resizer/
Read Extensibility Guide →