Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gigapixel image support & some error checking #17

Merged
merged 15 commits into from
Nov 6, 2020
Prev Previous commit
Next Next commit
Update find_bad.py
  • Loading branch information
ProGamerGov authored Nov 4, 2020
commit 64318fd9aa50057217830c1fc626aafa95ced604
4 changes: 3 additions & 1 deletion data_tools/find_bad.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
from PIL import Image


Image.MAX_IMAGE_PIXELS = 1000000000 # Support gigapixel images


def main():
parser = argparse.ArgumentParser()
Expand Down Expand Up @@ -51,4 +53,4 @@ def main_test(params):


if __name__ == "__main__":
main()
main()