Skip to content

Commit 5a66a1c

Browse files
committed
add a note about where all the icons are located
1 parent 9d02780 commit 5a66a1c

File tree

1 file changed

+99
-0
lines changed

1 file changed

+99
-0
lines changed

build/shared/lib/icons/README.md

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
This folder contains several icons, so we'll use that as an opportunity to outline where *all* the icons are located in the repo.
2+
3+
Image2Icon.app on macOS is used to create the `.icns` and `.ico` files from the Illustrator artwork that's been exported to `.png`. It's also used to create `.iconset` folders that contain the icons at several sizes. These are (manually) renamed to the versions seen below.
4+
5+
6+
## in this folder
7+
8+
Application icon for the PDE, used for the dock and windows:
9+
10+
build/shared/lib/icons/app-16.png
11+
build/shared/lib/icons/app-32.png
12+
build/shared/lib/icons/app-48.png
13+
build/shared/lib/icons/app-64.png
14+
build/shared/lib/icons/app-128.png
15+
build/shared/lib/icons/app-256.png
16+
build/shared/lib/icons/app-512.png
17+
build/shared/lib/icons/app-1024.png
18+
19+
The 48x48 version is created from the 64x64 image using ImageMagick:
20+
21+
convert -resize 48x app-64.png app-48.png
22+
23+
The document icon for `.pde` files. (Prior to 4.3, the `pde-NN.png` files were the app icon, causing some confusion.) These images are only used on Linux:
24+
25+
build/shared/lib/icons/pde-16.png
26+
build/shared/lib/icons/pde-32.png
27+
build/shared/lib/icons/pde-48.png
28+
build/shared/lib/icons/pde-64.png
29+
build/shared/lib/icons/pde-128.png
30+
build/shared/lib/icons/pde-256.png
31+
build/shared/lib/icons/pde-512.png
32+
build/shared/lib/icons/pde-1024.png
33+
34+
And to create that 48x48 version:
35+
36+
convert -resize 48x pde-64.png pde-48.png
37+
38+
Finally, there's the Foundation logo, which is used by the Contributions Manager:
39+
40+
build/shared/lib/icons/foundation-16.png
41+
build/shared/lib/icons/foundation-32.png
42+
build/shared/lib/icons/foundation-64.png
43+
44+
45+
## inside `core`
46+
47+
The exported application icon, used to set the dock icon when running a sketch, or in an exported application:
48+
49+
core/src/icon/icon-16.png
50+
core/src/icon/icon-32.png
51+
core/src/icon/icon-48.png
52+
core/src/icon/icon-64.png
53+
core/src/icon/icon-128.png
54+
core/src/icon/icon-256.png
55+
core/src/icon/icon-512.png
56+
core/src/icon/icon-1024.png
57+
58+
And of course:
59+
60+
convert -resize 48x icon-64.png icon-48.png
61+
62+
63+
## exported applications
64+
65+
Exported application icon for macOS:
66+
67+
java/application/application.icns
68+
69+
…and for Windows:
70+
71+
java/application/application.ico
72+
73+
There's none in use for Linux, since we don't export `.desktop` files with applications; though maybe we should do that in the future.
74+
75+
76+
## macOS build
77+
78+
Application icon:
79+
80+
build/macos/processing.icns
81+
82+
Document icons, named by extension:
83+
84+
build/macos/pde.icns
85+
build/macos/pdex.icns
86+
build/macos/pdez.icns
87+
88+
89+
## Windows build
90+
91+
Application icon:
92+
93+
build/windows/processing.ico
94+
95+
Document icons, named by extension:
96+
97+
build/windows/pdex.ico
98+
build/windows/pdez.ico
99+
build/windows/pde.ico

0 commit comments

Comments
 (0)