Skip to content

Instantly share code, notes, and snippets.

@bitzeny
Last active August 4, 2018 02:34
Show Gist options
  • Save bitzeny/0c5ad0526a8e49a38fc8 to your computer and use it in GitHub Desktop.
Save bitzeny/0c5ad0526a8e49a38fc8 to your computer and use it in GitHub Desktop.
make icons
#src/qt/res/icons/bitcoin.ico
#share/pixmaps/bitcoin.ico
convert icon.png -define icon:auto-resize bitcoin.ico
#src/qt/res/icons/bitcoin.png
convert -geometry 256x256 icon.png bitcoin.png
#src/qt/res/icons/toolbar.png
convert -geometry 16x16 icon.png toolbar.png
#src/qt/res/images/splash.png
convert -geometry 360x360 -crop 300x300+60+60 icon.png -gravity southeast -splice 180x20 -alpha Remove splash.png
#src/qt/res/icons/bitcoin.icns
convert -geometry 16x16 icon.png bitcoin.iconset/icon_16x16.png
convert -geometry 32x32 icon.png bitcoin.iconset/icon_32x32.png
convert -geometry 128x128 icon.png bitcoin.iconset/icon_128x128.png
convert -geometry 256x256 icon.png bitcoin.iconset/icon_256x256.png
convert -geometry 512x512 icon.png bitcoin.iconset/icon_512x512.png
convert -geometry 32x32 icon.png bitcoin.iconset/[email protected]
convert -geometry 64x64 icon.png bitcoin.iconset/[email protected]
convert -geometry 256x256 icon.png bitcoin.iconset/[email protected]
convert -geometry 512x512 icon.png bitcoin.iconset/[email protected]
convert -geometry 1024x1024 icon.png bitcoin.iconset/[email protected]
iconutil -c icns bitcoin.iconset
#share/pixmaps/nsis-header.bmp
convert -geometry 30x30 -gravity west -extent 150x57 -font Helvetica -pointsize 38 -gravity east -annotate 0 "bitzeny" -fill black icon.png bmp3:nsis-header.bmp
#share/pixmaps/nsis-wizard.bmp
convert -geometry 250x250 -gravity center -crop 164x314+0+0 -extent 164x314 icon.png bmp3:nsis-wizard.bmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment