Skip to content

@learningmap/web-component@0.2.2

Choose a tag to compare

@github-actions github-actions released this 04 Nov 21:15
· 67 commits to main since this release
e50639d

Patch Changes

  • #45 7f6a991 Thanks @copilot-swe-agent! - Add browser-based image compression and 413 error handling

    • Compress uploaded images automatically using Canvas API (resize to max 1920x1920px, convert to JPEG at 0.85 quality)
    • Add support for JPG, PNG, WebP, and SVG file formats
    • Detect HTTP 413 (Payload Too Large) responses and show user-friendly error message
    • Add translations for file size error in English and German
    • Typical file size reduction: 70-90% for raster images
  • Updated dependencies [7f6a991]:

    • @learningmap/learningmap@0.2.2