CDN sources for coh3stats
They are deployed to cdn.coh3stats.com
All images are stored under two versions:
- .png (original)
- .webp (80% quality - still indistiguishble)
Anything which is under public folder can be found under the root. For example webp:
- https://cdn.coh3stats.com/export/icons/races/american/infantry/captain_us_portrait.webp
- https://cdn.coh3stats.com/export_flatten/captain_us_portrait.webp
For example png:
- https://cdn.coh3stats.com/export/icons/races/american/infantry/captain_us_portrait.png
- https://cdn.coh3stats.com/export_flatten/captain_us_portrait.png
- Missing all the lobby quickmatch rank folder large icons. So far the export script converted the small and medium ones.
- Had to manually convert the large faction icons.
To copy the files to the flatten folder you can run these unix commands:
cd public
cp export/**/*.webp export_flatten
Windows:
for /r export %f in (*.webp) do copy /Y "%f" export_flatten\
For example you can use this tool https://www.xnview.com/en/xnviewmp/#downloads
Steps:
- Open the app XnViewMP
- Tools --> Batch Converter
- Add Folder (select folder) (select only .png files remove any webp)
- Click Output tab, format webp, quality 80%
- Click on Convert