ai-cfia / nachet-frontend

Frontend application for seed classification of images acquired from digital microscopes
MIT License
2 stars 2 forks source link

Joseffus/89-tiff-file-display #112

Closed ChromaticPanic closed 1 month ago

ChromaticPanic commented 1 month ago

Fixes #89 Solution using UTIF js from photopea

Updated interface to avoid "as Number" usage in loadToCanvas

Cleanup redundant code in bounding box drawing section of loadToCanvas

created an if else fork in loadToCanvas to handle Tiff Image canvas drawing extracted common bounding box drawing code outside of image.onload

rngadam commented 1 month ago

As you already know, we usually uses branch directly in the report and name our branch as 89-tiff-file-display

Also, put "Fixes #89" in your description (so that on merge it closes matching issue) and reference the issue in your commit with issue #89: <commit description>

ChromaticPanic commented 1 month ago

Automatically closed when branch name was corrected