Skip to content

Instantly share code, notes, and snippets.

@hclivess
Created January 29, 2023 12:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hclivess/df2faeaa19e7dd8917872145af33f9c6 to your computer and use it in GitHub Desktop.
Save hclivess/df2faeaa19e7dd8917872145af33f9c6 to your computer and use it in GitHub Desktop.
Convert ARW to TIFF
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