MP ESB Template Generator

MP ESB Template Generator – Exam Declaration Image Builder

Core Idea: Generate a single composite PNG (and on-screen preview) containing candidate name, date, photo, signature, optional declaration photo, plus bilingual self‑declaration text—client-side only.
How It Works: File inputs load images as data URLs; JS positions them and renders final layout (DOM → canvas via html2canvas) for download. No upload / backend.
Sanity Checks: Name spelling, exam-required date format (YYYY-MM-DD vs DD-MM-YYYY), image clarity (≥ 300px height), signature contrast, Hindi text legibility.
Shortcuts: Reuse prior session details with browser auto-fill. If size too big, resize photos before upload. Need only Hindi? Delete English block after download using an editor.
Pitfalls: Oversized images slow rendering; transparent signature on white may appear faint; mobile cropping can rotate EXIF—verify orientation before finalizing.
Micro-examples: MP Police form → name + date + photo + signature only. Scholarship portal → add declaration photo. Multi-exam reuse by just changing date.
Mini-FAQ:
  • Stored? No.
  • Custom text? Edit span content before export.
  • PDF? Save PNG then convert if needed.
  • Other states? Works if format similar.
Action Tip: Keep a folder with original photo/signature at clean resolution; always regenerate with the exact exam date rather than editing pixels later.