Created
May 20, 2024 20:12
-
-
Save mys721tx/66241ab2781fca78561db51e6b116ca6 to your computer and use it in GitHub Desktop.
Convert 16 bit images to 8 bit
This file contains 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
#!/bin/bash | |
for f in Default/*.tif; do | |
convert "$f" -auto-level -depth 8 "8bit/$(basename "$f")" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment