Created
April 4, 2021 18:22
-
-
Save krantikal/00a4d7a0d4a053ed6fd767cc6de9eecf to your computer and use it in GitHub Desktop.
[Image Manipulation] #photo #pix #image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:: make gif transparent ... | |
:: cleangif img.gif ... | |
:: produces img_clear.gif ... | |
:: uses im convert ... | |
:: Shiva, Feb 12, 2018 ... | |
magick convert %1.gif -fuzz 10% -transparent white %1_clear.gif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:: uses nircmd to save an image to gif from command line ... | |
:: usage: clip2gif imgfname ... | |
:: Shiva, Dec 12, 2019 ... | |
:: See also cleangif ... | |
nircmd clipboard saveimage %1.gif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:: uses nircmd to save an image to jpg from command line ... | |
:: usage: clip2jpg imgfname ... | |
:: Shiva, Dec 12, 2019 ... | |
magick convert clipboard: %1.jpg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:: uses nircmd to save an image to png from command line ... | |
:: usage: clip2png imgfname ... | |
:: Shiva, Dec 12, 2019 ... | |
magick convert clipboard: %1.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment