Skip to content

Commit 51a271a

Browse files
committed
enh: new icon and splash image artwork
1 parent 0dbb86b commit 51a271a

13 files changed

Lines changed: 505 additions & 533 deletions

File tree

CHANGELOG

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
- enh: allow sharing individual datasets instead of collections (#32)
44
- enh: add preview option for dataset description in upload dialog (#52)
55
- enh: introduce write lock for eternal job updates
6+
- enh: new icon and splash image artwork
67
- ref: move `FilterChainMyData` to module `panel_my_data`
78
0.18.2
89
- ref: make action buttons in filter view hideable

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ By default, testing is done with https://dcor-dev.mpl.mpg.de and the user
3333
pytest tests
3434

3535

36-
.. |DCOR-Aid| image:: https://raw.github.com/DCOR-dev/DCOR-Aid/main/dcoraid/img/dcoraid_text.png
36+
.. |DCOR-Aid| image:: https://raw.github.com/DCOR-dev/DCOR-Aid/main/dcoraid/img/splash.png
3737
.. |PyPI Version| image:: https://img.shields.io/pypi/v/dcoraid.svg
3838
:target: https://pypi.python.org/pypi/DCOR-Aid
3939
.. |Build Status| image:: https://img.shields.io/github/actions/workflow/status/DCOR-dev/DCOR-Aid/check.yml

build-recipes/DCOR-Aid.icns

-58.7 KB
Binary file not shown.

build-recipes/DCOR-Aid.ico

-6.01 KB
Binary file not shown.

build-recipes/Readme.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
### Create .ico
2+
3+
```
4+
#!/bin/bash
5+
# sudo apt-get install icoutils
6+
for size in 16 32 48 128 256; do
7+
inkscape -z -o $size.png -w $size -h $size ../docs/artwork/dcoraid_icon.svg >/dev/null 2>/dev/null
8+
done
9+
icotool -c -o DCOR-Aid.ico 16.png 32.png 48.png 128.png 256.png
10+
rm 16.png 32.png 48.png 128.png 256.png
11+
12+
```
13+
14+
15+
### Create .icns
16+
17+
```
18+
#!/bin/bash
19+
# sudo apt-get install icnsutils
20+
for size in 16 32 48 128 256; do
21+
inkscape -z -o icon_${size}px.png -w $size -h $size ../docs/artwork/dcoraid_icon.svg >/dev/null 2>/dev/null
22+
done
23+
png2icns DCOR-Aid.icns icon_*px.png
24+
rm icon_16px.png icon_32px.png icon_48px.png icon_128px.png icon_256px.png
25+
26+
```

dcoraid/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def main(splash=True):
4040
from .gui import DCORAid
4141

4242
# Set Application Icon
43-
ref_icon = resources.files("dcoraid.img") / "splash.png"
43+
ref_icon = resources.files("dcoraid.img") / "icon.png"
4444
with resources.as_file(ref_icon) as icon_path:
4545
app.setWindowIcon(QtGui.QIcon(str(icon_path)))
4646

dcoraid/img/icon.png

21.3 KB
Loading

dcoraid/img/icon.svg

Lines changed: 0 additions & 215 deletions
This file was deleted.

dcoraid/img/splash.png

-20.6 KB
Loading

0 commit comments

Comments
 (0)