11
Finished Programs / Re: FINISHED: Folder Icon Generator - Customize the picture inside your folder icon
« on: September 08, 2017, 06:21 AM »
For generation icons, maybe ImageMagick is a better tool? You can layer and position images, and export them to an icon, all using the command line.
Download and install ImageMagick here.
Here's a script that resizes 2.jpg,
merges 1.png, 2.jpg and 3.png,
saves the result as icon.ico.
Save the script at Merge.cmd in the ImageMagic folder, also either place the images here, or change the script to point to the correct images.
Download and install ImageMagick here.
Here's a script that resizes 2.jpg,
merges 1.png, 2.jpg and 3.png,
saves the result as icon.ico.
Save the script at Merge.cmd in the ImageMagic folder, also either place the images here, or change the script to point to the correct images.
convert.exe 2.jpg -resize 216x216 output.png
convert.exe 1.png output.png -gravity center -composite output.png
convert.exe output.png 3.png -gravity center -composite output.png
convert.exe output.png -define icon:auto-resize=256,128,64,48,32,16 icon.ico
convert.exe 1.png output.png -gravity center -composite output.png
convert.exe output.png 3.png -gravity center -composite output.png
convert.exe output.png -define icon:auto-resize=256,128,64,48,32,16 icon.ico