You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Importing large images causes memory issues or crashes #7
What happened?
Importing images near the 16M pixel limit causes browser freeze, lag, or silent failure.
Steps to reproduce:
Open Drawora
Go to Insert → Image
Import a 4000×4000px image (16M pixels)
Observe: App freezes, crashes, or image doesn't load
Expected: Image imports and renders without memory spike Actual: Browser freezes 2-5 seconds, potential out-of-memory error
Code location:
// js/app.js - line ~85 (approx)constMAX_IMAGE_PIXELS=16_000_000;constIMAGE_TYPES=/^image\/(png|jpe?g|gif|webp|bmp|svg\+xml)$/i;// Issue: No downsampling or progressive loading// Need: Compress or tile large images
Activity
pradipNP commentedon Aug 31, 2026
Test files:
5000×5000px PNG (~100MB)
4096×4096px JPEG (~50MB)