FoxP / PNG-to-ICO

KISS batch script to easily convert PNG, GIF, BMP, SVG or JPG images to multi-resolution ICO files using ImageMagick.
https://foxp.github.io/PNG-to-ICO/
The Unlicense
171 stars 19 forks source link

Hide CMD window when converting image #12

Open Vaalus opened 1 month ago

Vaalus commented 1 month ago

I'm pretty new to Github so I'm sorry if this is not where to add suggestions. I think it'd be a good idea to add the option to hide the CMD window that appears when converting the images. It takes your focus out of the file explorer and it takes a second, would be more convenient not to have it appear in the first place.

I've used it a lot and it's of great help though, so thank you! :)

FoxP commented 1 month ago

Hi @Vaalus, Unfortunately, this script is a simple .bat file : it relies on CMD to be executed. There are more user-friendly / complex solutions available, but this one was just the simplest / fastest. 👍 A trick using VBScript to start the .bat "hidden" could be used, but VBScript will be removed from MS Windows in the future : https://www.bleepingcomputer.com/news/microsoft/microsoft-to-start-killing-off-vbscript-in-second-half-of-2024/ Having the CMD window displayed is also a way to see the progress for huge directories (click on the picture below to play the gif animation) : image