Skip to content

Instantly share code, notes, and snippets.

View cOborski's full-sized avatar
🤠
I may be slow to respond.

Catherine Oborski cOborski

🤠
I may be slow to respond.
View GitHub Profile
@cOborski
cOborski / magick-batch-convert-and-resize.ps1
Last active January 24, 2024 04:10
Batch convert image format, and resize, using ImageMagick in powershell
##
# Description
# Batch convert image format, and resize, using ImageMagick in powershell
#
# Notes
# In this example we're using mogrify to convert all the png images in a folder to ico format
# All the images will be resized to 256x256 pixels, which is the largest image size you can convert to an icon
# See https://imagemagick.org/script/mogrify.php for more information on the morgrify command
# I would also recomend reading the mogrify section on ImageMagick's Basic Usage Page before trying to modify this comand
# See https://imagemagick.org/Usage/basics/#mogrify