-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PowerShell script that supports Bicubic Sharper algorithm #20
base: master
Are you sure you want to change the base?
PowerShell script that supports Bicubic Sharper algorithm #20
Conversation
… into PowerShell
This reverts commit 8e04a9d.
Temporary icon name is now set in main code instead of in function
(specifically differentiated path strings from objects); Added types to parameters; Changed letter-casing of parameters to upper camel case; Renamed function ConvertFrom-SizeList to ConvertFrom-SubiconsArray
Expanded documentation in comments; Fixed bug in Move-Files function
To replace the context menu script with this, you can replace the contents of png_to_ico.bat in AppData with this:
|
Now that I actually tried running it on a folder from context menu, I'm not satisfied with the final destination directory of the icons. I think it would be better if they were placed in a directory next to the original directory, with Also, the console size thing doesn't work properly for me, with the new Windows Terminal. Neither with the batch script nor PowerShell script. |
PS. You can use my extractor script to easily compare results. Just extract, open folder, and increase thumbnail size to max for the folder (Ctrl+Scroll Up). |
By default, Bicubic Sharper will be used for sizes 96px, 64px, 48px, 32px, 24px, and 16px.
If you do not want to add this, I guess I will make a new repository for my fork.
Feel free to kill all my darlings, change anything you want, it's free software.
This could have been made with much lesser change to the code, but I wanted to make it easily customizable, user-friendly, robust, and expandable.
I tried to keep it simple stupid, but I think it's debatable whether I succeeded or not.