move assets to subfolders

This commit is contained in:
agrajaghh
2016-10-03 21:39:05 +02:00
parent 7a1dafd6ce
commit b5b31100c3
24 changed files with 71 additions and 65 deletions

Before

Width:  |  Height:  |  Size: 84 KiB

After

Width:  |  Height:  |  Size: 84 KiB

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

+36
View File
@@ -0,0 +1,36 @@
@echo off
rem ImageMagick and inkscape needed
mkdir temp
inkscape -z -e temp/application_16.png -w 16 -h 16 application_icon.svg
inkscape -z -e temp/application_20.png -w 20 -h 20 application_icon.svg
inkscape -z -e temp/application_24.png -w 24 -h 24 application_icon.svg
inkscape -z -e temp/application_32.png -w 32 -h 32 application_icon.svg
inkscape -z -e temp/application_40.png -w 40 -h 40 application_icon.svg
inkscape -z -e temp/application_48.png -w 48 -h 48 application_icon.svg
inkscape -z -e temp/application_64.png -w 64 -h 64 application_icon.svg
inkscape -z -e temp/application_96.png -w 96 -h 96 application_icon.svg
inkscape -z -e temp/application_256.png -w 256 -h 256 application_icon.svg
mkdir osx_appicon
inkscape -z -e osx_appicon/icon_16x16.png -w 16 -h 16 application_icon.svg
inkscape -z -e osx_appicon/icon_16x16@2x.png -w 32 -h 32 application_icon.svg
inkscape -z -e osx_appicon/icon_32x32.png -w 32 -h 32 application_icon.svg
inkscape -z -e osx_appicon/icon_32x32@2x.png -w 64 -h 64 application_icon.svg
inkscape -z -e osx_appicon/icon_64x64.png -w 64 -h 64 application_icon.svg
inkscape -z -e osx_appicon/icon_64x64@2x.png -w 128 -h 128 application_icon.svg
inkscape -z -e osx_appicon/icon_128x128.png -w 128 -h 128 application_icon.svg
inkscape -z -e osx_appicon/icon_128x128@2x.png -w 256 -h 256 application_icon.svg
inkscape -z -e osx_appicon/icon_256x256.png -w 256 -h 256 application_icon.svg
inkscape -z -e osx_appicon/icon_256x256@2x.png -w 512 -h 512 application_icon.svg
inkscape -z -e osx_appicon/icon_512x512.png -w 512 -h 512 application_icon.svg
inkscape -z -e osx_appicon/icon_512x512@2x.png -w 1024 -h 1024 application_icon.svg
rem On OSX, the icns is created by:
rem mv osx_appicon osx_appicon.iconset
rem iconutil -c icns osx_appicon.iconset
convert temp/application_16.png temp/application_20.png temp/application_24.png temp/application_32.png temp/application_40.png temp/application_48.png temp/application_64.png temp/application_96.png temp/application_256.png application_icon.ico
rd /s /q temp
pause
-65
View File
@@ -1,65 +0,0 @@
@echo off
rem ImageMagick and inkscape needed
rem On non-windows, replace \ with /
mkdir temp
inkscape -z -e temp\application_16.png -w 16 -h 16 application_icon.svg
inkscape -z -e temp\application_20.png -w 20 -h 20 application_icon.svg
inkscape -z -e temp\application_24.png -w 24 -h 24 application_icon.svg
inkscape -z -e temp\application_32.png -w 32 -h 32 application_icon.svg
inkscape -z -e temp\application_40.png -w 40 -h 40 application_icon.svg
inkscape -z -e temp\application_48.png -w 48 -h 48 application_icon.svg
inkscape -z -e temp\application_64.png -w 64 -h 64 application_icon.svg
inkscape -z -e temp\application_96.png -w 96 -h 96 application_icon.svg
inkscape -z -e temp\application_256.png -w 256 -h 256 application_icon.svg
inkscape -z -e temp\error_16.png -w 16 -h 16 tray_icons_error.svg
inkscape -z -e temp\error_24.png -w 24 -h 24 tray_icons_error.svg
inkscape -z -e temp\error_32.png -w 32 -h 32 tray_icons_error.svg
inkscape -z -e temp\error_48.png -w 48 -h 48 tray_icons_error.svg
inkscape -z -e temp\error_256.png -w 256 -h 256 tray_icons_error.svg
inkscape -z -e temp\inactive_16.png -w 16 -h 16 tray_icons_inactive.svg
inkscape -z -e temp\inactive_24.png -w 24 -h 24 tray_icons_inactive.svg
inkscape -z -e temp\inactive_32.png -w 32 -h 32 tray_icons_inactive.svg
inkscape -z -e temp\inactive_48.png -w 48 -h 48 tray_icons_inactive.svg
inkscape -z -e temp\inactive_256.png -w 256 -h 256 tray_icons_inactive.svg
inkscape -z -e temp\paused_16.png -w 16 -h 16 tray_icons_paused.svg
inkscape -z -e temp\paused_24.png -w 24 -h 24 tray_icons_paused.svg
inkscape -z -e temp\paused_32.png -w 32 -h 32 tray_icons_paused.svg
inkscape -z -e temp\paused_48.png -w 48 -h 48 tray_icons_paused.svg
inkscape -z -e temp\paused_256.png -w 256 -h 256 tray_icons_paused.svg
inkscape -z -e temp\running_16.png -w 16 -h 16 tray_icons_running.svg
inkscape -z -e temp\running_24.png -w 24 -h 24 tray_icons_running.svg
inkscape -z -e temp\running_32.png -w 32 -h 32 tray_icons_running.svg
inkscape -z -e temp\running_48.png -w 48 -h 48 tray_icons_running.svg
inkscape -z -e temp\running_256.png -w 256 -h 256 tray_icons_running.svg
mkdir osx_appicon
inkscape -z -e osx_appicon\icon_16x16.png -w 16 -h 16 application_icon.svg
inkscape -z -e osx_appicon\icon_16x16@2x.png -w 32 -h 32 application_icon.svg
inkscape -z -e osx_appicon\icon_32x32.png -w 32 -h 32 application_icon.svg
inkscape -z -e osx_appicon\icon_32x32@2x.png -w 64 -h 64 application_icon.svg
inkscape -z -e osx_appicon\icon_64x64.png -w 64 -h 64 application_icon.svg
inkscape -z -e osx_appicon\icon_64x64@2x.png -w 128 -h 128 application_icon.svg
inkscape -z -e osx_appicon\icon_128x128.png -w 128 -h 128 application_icon.svg
inkscape -z -e osx_appicon\icon_128x128@2x.png -w 256 -h 256 application_icon.svg
inkscape -z -e osx_appicon\icon_256x256.png -w 256 -h 256 application_icon.svg
inkscape -z -e osx_appicon\icon_256x256@2x.png -w 512 -h 512 application_icon.svg
inkscape -z -e osx_appicon\icon_512x512.png -w 512 -h 512 application_icon.svg
inkscape -z -e osx_appicon\icon_512x512@2x.png -w 1024 -h 1024 application_icon.svg
rem On OSX, the icns is created by:
rem mv osx_appicon osx_appicon.iconset
rem iconutil -c icns osx_appicon.iconset
convert temp\application_16.png temp\application_20.png temp\application_24.png temp\application_32.png temp\application_40.png temp\application_48.png temp\application_64.png temp\application_96.png temp\application_256.png application_icon.ico
convert temp\error_16.png temp\error_24.png temp\error_32.png temp\error_48.png temp\error_256.png error.ico
convert temp\inactive_16.png temp\inactive_24.png temp\inactive_32.png temp\inactive_48.png temp\inactive_256.png inactive.ico
convert temp\paused_16.png temp\paused_24.png temp\paused_32.png temp\paused_48.png temp\paused_256.png paused.ico
convert temp\running_16.png temp\running_24.png temp\running_32.png temp\running_48.png temp\running_256.png running.ico
rd /s /q temp
+35
View File
@@ -0,0 +1,35 @@
@echo off
rem ImageMagick and inkscape needed
mkdir temp
inkscape -z -e temp/error_16.png -w 16 -h 16 tray_icons_error.svg
inkscape -z -e temp/error_24.png -w 24 -h 24 tray_icons_error.svg
inkscape -z -e temp/error_32.png -w 32 -h 32 tray_icons_error.svg
inkscape -z -e temp/error_48.png -w 48 -h 48 tray_icons_error.svg
inkscape -z -e temp/error_256.png -w 256 -h 256 tray_icons_error.svg
inkscape -z -e temp/inactive_16.png -w 16 -h 16 tray_icons_inactive.svg
inkscape -z -e temp/inactive_24.png -w 24 -h 24 tray_icons_inactive.svg
inkscape -z -e temp/inactive_32.png -w 32 -h 32 tray_icons_inactive.svg
inkscape -z -e temp/inactive_48.png -w 48 -h 48 tray_icons_inactive.svg
inkscape -z -e temp/inactive_256.png -w 256 -h 256 tray_icons_inactive.svg
inkscape -z -e temp/paused_16.png -w 16 -h 16 tray_icons_paused.svg
inkscape -z -e temp/paused_24.png -w 24 -h 24 tray_icons_paused.svg
inkscape -z -e temp/paused_32.png -w 32 -h 32 tray_icons_paused.svg
inkscape -z -e temp/paused_48.png -w 48 -h 48 tray_icons_paused.svg
inkscape -z -e temp/paused_256.png -w 256 -h 256 tray_icons_paused.svg
inkscape -z -e temp/running_16.png -w 16 -h 16 tray_icons_running.svg
inkscape -z -e temp/running_24.png -w 24 -h 24 tray_icons_running.svg
inkscape -z -e temp/running_32.png -w 32 -h 32 tray_icons_running.svg
inkscape -z -e temp/running_48.png -w 48 -h 48 tray_icons_running.svg
inkscape -z -e temp/running_256.png -w 256 -h 256 tray_icons_running.svg
convert temp/error_16.png temp/error_24.png temp/error_32.png temp/error_48.png temp/error_256.png error.ico
convert temp/inactive_16.png temp/inactive_24.png temp/inactive_32.png temp/inactive_48.png temp/inactive_256.png inactive.ico
convert temp/paused_16.png temp/paused_24.png temp/paused_32.png temp/paused_48.png temp/paused_256.png paused.ico
convert temp/running_16.png temp/running_24.png temp/running_32.png temp/running_48.png temp/running_256.png running.ico
rd /s /q temp
pause

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Before

Width:  |  Height:  |  Size: 451 B

After

Width:  |  Height:  |  Size: 451 B

Before

Width:  |  Height:  |  Size: 372 B

After

Width:  |  Height:  |  Size: 372 B

Before

Width:  |  Height:  |  Size: 378 B

After

Width:  |  Height:  |  Size: 378 B

Before

Width:  |  Height:  |  Size: 418 B

After

Width:  |  Height:  |  Size: 418 B

Before

Width:  |  Height:  |  Size: 778 B

After

Width:  |  Height:  |  Size: 778 B

Before

Width:  |  Height:  |  Size: 626 B

After

Width:  |  Height:  |  Size: 626 B

Before

Width:  |  Height:  |  Size: 631 B

After

Width:  |  Height:  |  Size: 631 B

Before

Width:  |  Height:  |  Size: 690 B

After

Width:  |  Height:  |  Size: 690 B

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB