Created
January 29, 2023 12:58
-
-
Save hclivess/df2faeaa19e7dd8917872145af33f9c6 to your computer and use it in GitHub Desktop.
Convert ARW to TIFF
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
import sys | |
import rawpy, imageio | |
files = sys.argv[1:] | |
for file in files: | |
with rawpy.imread(file) as raw: | |
rgb = raw.postprocess() | |
imageio.imsave(f'{file}.tiff', rgb) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment