ruuvi / com.ruuvi.station

BSD 3-Clause "New" or "Revised" License
72 stars 39 forks source link

Check image size and format limitations in app #1302

Closed markoaamunkajo closed 1 month ago

markoaamunkajo commented 1 month ago

Description:

Description:

Check image size and format limitations in app

markoaamunkajo commented 1 month ago

640heif 1280 heif 1920 heif

heic 1920x1280 iOS proraw_max - NO iOS max - NO iOS proraw_12mp - NO jpg 1920x1280 jpg 6720x4480 jpg 8974x6434 jpg 2400x1720 jpg 1920x455 jpg 8192x2932 jpg 8268x1960 gif animation - NO png 2400x1720 tiff 2400x1720 - NO webp 1920x1280 - NO

markoaamunkajo commented 1 month ago

@andreevdenis

Should we block picking those images that are not supported? Little bit surprised about webp. I tested these from Google Drive. Tested on 2 devices.

markoaamunkajo commented 1 month ago

Send example imagesto Denis that are not working

laurijamsa commented 1 month ago

On Android compression and resizing seems to work ok. A 200 megapixel JPG got resized to 3000x1687px and ~250KB.

andreevdenis commented 1 month ago

Webp is supported now. For other formats users will see error message

markoaamunkajo commented 1 month ago

Webp now works and error messages for unsupported checked @andreevdenis can I remove assignment and move to done?

markoaamunkajo commented 1 month ago

Moved to completed