dynamo-browse/_site/bin/process-images.py
Leon Mika bf879a8a78
Some checks failed
ci / Build (push) Successful in 4m9s
Release / Build (push) Successful in 4m14s
Release / Release MacOS (push) Failing after 25s
Release / Site (push) Successful in 1m30s
Fixed MacOS release (#3)
- Fixed MacOS release and moved UCL site into repository

Reviewed-on: #3
Co-authored-by: Leon Mika <lmika@lmika.org>
Co-committed-by: Leon Mika <lmika@lmika.org>
2025-10-26 00:41:24 +00:00

19 lines
403 B
Python
Executable file

#!/usr/bin/env python3
import os.path
import subprocess
images = [
'main-item-view.png',
'table-selection.png',
'filter-items.png',
'query-items.png',
'modified-items.png',
'fields-popup.png'
]
for image in images:
src_file = os.path.join('images', image)
target_file = os.path.join('static/images/dynamo-browse', image)
subprocess.run(['magick', src_file, '-shave', '24x16', target_file])