Created
March 2, 2019 16:18
-
-
Save gregkepler/68469d7c11a69f05cdded69ed445bca7 to your computer and use it in GitHub Desktop.
ImageMagick convert folder EXRs to PNGs in linear colorspace
This file contains hidden or 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
::Turn of displaying the code on the screen | |
@echo off | |
echo Converting... | |
for %%f in (%1/*.exr) do ( | |
rem echo %%~nf | |
rem echo %%f | |
magick convert "%1/%%f" -verbose -format png -depth 16 -channel RGBA -type truecolormatte -colorspace RGB -define png:bit-depth=16 "%2/%%~nf.png" | |
) | |
echo done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment