Fix extreme downscaling of custom stamps
Fix extreme downscaling of custom stamps: Use native resolution for raster and High-DPI for SVG
The current implementation calculates the stamp image size based on the PDF page geometry in Points (1/72 inch). This forces loadStamp to rasterize or downscale the custom stamp image to 72 DPI.
This commit improves setPopplerStampAnnotationCustomImage:
- Uses native resolution for raster images (PNG/JPG) to prevent downscaling.
- Uses 288 DPI (4x scale) for SVGs to ensure crisp rendering.
- Adds a 4096px clamp for safety.
BUG: 370382 (Using non-default size for custom stamp pixelates the stamp)