OTP ASSIST PORTAL - DWG IRIS BRIGHTNESS UPDATE (31 Oct 2026)
==========================================================
Copy these 3 files into the SAME folder that currently has iris1.php and iris2.php:
- iris1.php (replace)
- iris2.php (replace)
- iris_brightness.js (NEW)

Existing includes/config.php, DWG database, session, authentication, paths and
all other files stay unchanged. No SQL or extra library is required.

FEATURES
- Brightness controls for each of five Iris images independently.
- Slider 25% to 2000%, + and - steps, and manual percentage entry up to 10000%.
- Auto Bright detects dark photos (when original image is same-origin).
- Reset image to original 100% brightness.
- Print/Save PDF will display adjusted brightness.
- Download Bright Image writes a new PNG; original file is untouched.
- Adjustments persist within the same browser tab across Iris 1 and Iris 2.
- Responsive mobile view; existing iris navigation and zoom preserved.

IMPORTANT
- Browser-session preview changes are NOT written back into the database or
  source image. Operators wanting a new image file should click
  "Download Bright Image" after adjustment.
- External images without cross-origin read permission may be displayed and
  printed with brightness but cannot be downloaded as processed PNG.
- Recovering details from a completely black or severely underexposed scan is
  not possible simply by brightening. Recapture may be necessary.
- Use of adjusted images in biometric validation depends on accepting system
  requirements. Original remains available via Open Image.
