HULKs / moments

0 stars 0 forks source link

Recheck and robustify for unsupported image formats #4

Closed h3ndrk closed 11 months ago

h3ndrk commented 1 year ago

E.g. GIF, Live Photos, ...

We need to check selection, upload/conversion, and display in the frontend.

schmidma commented 11 months ago

Works for GIFs, cannot test live photos

h3ndrk commented 11 months ago

What formats should the frontend send to the backend? Which formats do we want to support?

schmidma commented 11 months ago
     gif
    jpeg
    ico
    png
    pnm
    tga
    tiff
    webp
    bmp
    hdr
    dxt
    dds
    farbfeld
    jpeg_rayon
    openexr
    qoi 

that is what we support

h3ndrk commented 11 months ago

Ok, I will adapt the frontend s.t. the file selection has the correct filters.

h3ndrk commented 11 months ago

It is now "image/bmp,image/jpeg,image/png,image/tiff,image/webp".

h3ndrk commented 11 months ago

iOS still allows to upload other formats if one selects to not convert automatically... Nothing we can do about it, but the default should be JPEG which is fine for us.