Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@epoz
Created November 8, 2019 11:46
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 epoz/f667bd0e7d8acb0d7d995185cadfbe97 to your computer and use it in GitHub Desktop.
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
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