Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Whitlisting file inputs
#1
Photo 
Hey,
I have a script that takes all the files in a folder, crops them, and exports them. However, it tries to take things in that folder that aren't images (text files, pesky invisible metadata files) and tries to edit them, which throws an error. How do I fix that?


Attached Files
.zip   batch-csp-cropper.py.zip (Size: 1.56 KB / Downloads: 544)
Reply


Messages In This Thread
Whitlisting file inputs - by radzo73 - 12-22-2019, 03:43 PM
RE: Whitlisting file inputs - by Ofnuts - 12-22-2019, 04:53 PM
RE: Whitlisting file inputs - by radzo73 - 12-22-2019, 07:06 PM

Forum Jump: