- 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>
19 lines
403 B
Python
Executable file
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]) |