Releases: deepakness/optisharp
Releases · deepakness/optisharp
optisharp 1.1
Critical Stability & Correctness Update
- EXIF Orientation: Applies orientation automatically via
rotate()for correct display. - Metadata Handling: Removes incorrect
withMetadata(false)usage; metadata is stripped by default and preserved only when requested. - Safe Output Fallbacks: When
OUTPUT_FORMAT='original'and source output isn’t supported (e.g., GIF/SVG), falls back topngif transparent, otherwisejpeg. - JPEG Transparency: Transparent pixels flattened to white when converting to JPEG to avoid black/undefined backgrounds.
- Watermark Robustness: Case-insensitive positioning and fixed margin checks; text safely escaped in SVG to prevent XML issues.
- Accurate Stats: Format counts and totals update only after successful writes.