DDMAL / DDMAL/UMIL

Convert current TIFF images to PNG

Open
#104 3 comments 0 reactions 1 assignee Claimed by @zhannaklimanova View on GitHub
on hold
Dominant language
Python
Stars
4
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Update (@dchiller; 10 June)

Based on discussion in #53, non-supported image types will eventually be converted to PNG on upload. For existing images, we can run a converter on them when we have a converter and an image storage solution.

---

A browser-related issue where .tif images are not displayed in Chrome. Two possible solutions could be implemented for this:
1. Python functionality to convert .tif images to .png, .jpg, or another format that is more generally supported by all browsers. This would be added as a step before populating/updating the database tables with data. A pro for this solution would be that if a corresponding .png or .jpg image doesn't exist, the .tif can be easily converted.
2. Go into the database and run UPDATE SQL commands to replace the .tif with .png or .jpg images in the actual database. A con for this solution is that a replacement .png or .jpg will be hard to find and also the manual work associated with cut and replacing the image link.

Safari:
![image](https://github.com/DDMAL/VIM/assets/59708333/b87d0637-5afe-4337-82bf-a5bd13b0aede)

Chrome:
![image](https://github.com/DDMAL/VIM/assets/59708333/87db2b22-e5e5-4a64-9eff-b06477eccc12)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.