Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- setlocal enabledelayedexpansion
- set img = none
- for %%x in (%*) do (
- set img=%%~x
- set conv=!img:jpg=png!
- magick convert !img! !conv!
- del %img%
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement