akmet / postcard-maker

https://akmet.github.io/postcard-maker/
0 stars 0 forks source link

handle large images #12

Open akmet opened 1 month ago

akmet commented 1 month ago

The localStorage used has a maximum capacity of 10Mb. This can lead to uncaught exceptions with large image files.

  1. these exceptions (QuotaExceeded) should be caught.
  2. images should possibly be stored in the IndexedDB storage instead.
  3. it should be possible to crop images during import. Preferably with CropperJS or similar.