SkalskiP / make-sense

Free to use online tool for labelling photos. https://makesense.ai
GNU General Public License v3.0
3.16k stars 525 forks source link

Support of TIFF format image #337

Open project2021-code opened 1 year ago

project2021-code commented 1 year ago

Is your feature request related to a problem? Please describe. I find that the latest make-sense doesn't load TIFF format image, and I see there are a closed issue https://github.com/SkalskiP/make-sense/issues/148 in 2021. However, it seems that TIFF is still not supported in 2023.

Describe the solution you'd like TIFF format image is supported.

Describe alternatives you've considered Convert the file format to PNG and get slightly image loss, but this will make duplicate image files for using in make-sense only.

Additional context

emcotta1701c commented 10 months ago

Hello. In #148, there was mention of modifying the AcceptedFileType.ts file to enable support for tiff images. However, I noticed no difference in program behavior even when removing 'image/jpg' and 'image/png' from AcceptedFileType.ts.

However, the tiff files loaded successfully when connecting through Safari, rather than Chrome, without any modifications to the repo. Below is a link explaining that tiff images can be opened in Safari but not Chrome.

https://stackoverflow.com/questions/2176991/how-would-i-display-a-tiff-images-in-all-web-browsers

Hopefully this works for those who want to use tiff images.