loon4tic

jpg2pngconv

Oct 14th, 2021
610
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. setlocal enabledelayedexpansion
  3. set img = none
  4. for %%x in (%*) do (
  5.     set img=%%~x
  6.     set conv=!img:jpg=png!
  7.     magick convert !img! !conv!
  8.     del %img%
  9. )
RAW Paste Data