Our Methodology
Transparency in how our tools work and how we gather data.
The Compression Algorithm
Unlike traditional image compressors that upload your files to a cloud server, FormFitoperates entirely within your web browser using HTML5 Canvas and JavaScript.
How it achieves exact KB targets:
- Binary Search for Quality: When you select a target size (e.g., 50 KB), the tool performs a binary search across JPEG quality settings (from 0.01 to 1.0). It repeatedly compresses the image in memory, checking the resulting file size until it finds the highest possible quality setting that stays strictly under the target limit.
- Resolution Scaling (Fallback): If the image is too large or too complex to reach the target size even at the lowest acceptable quality setting, the tool begins proportionally scaling down the physical dimensions (width and height) of the image and restarts the quality search.
- Format Enforcement: All outputs are strictly converted to the JPEG format, as this is the universally accepted format across all Indian exam portals.
Data Sourcing & Accuracy
The exam photo and signature size limits listed on our platform are compiled through manual research of official exam notifications and information bulletins.
- Primary Sources: Official PDFs released by SSC, UPSC, NTA, IBPS, RRB, and state public service commissions.
- Confidence Levels: We assign a "confidence" metric to each exam profile. Exams with highly standardized, unchanging rules across years (like SSC and UPSC) are marked as Verified. Exams where limits frequently fluctuate between specific notifications (like some state-level PSCs) are marked as Approximate.
Privacy First Architecture
Because all algorithmic processing happens via the OffscreenCanvas API directly on your device's CPU/GPU, no network requests containing your image data are ever made. Your sensitive documents physically cannot be leaked or stored by us, because they never reach our servers.