Created
November 8, 2019 11:46
-
-
Save epoz/f667bd0e7d8acb0d7d995185cadfbe97 to your computer and use it in GitHub Desktop.
Converts a directory of Deepzoom images to IIIF Level-0 compliant static store
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
import os | |
import sys | |
if __name__ == '__main__': | |
dzifile = sys.argv[1] | |
for dirpath, dirnames, filenames in os.walk('.'): | |
for filename in filenames: | |
print(os.path.join(dirpath, filename)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment