Skip to content

Commit

Permalink
Merge pull request #12120 from DiabolicDiabetic/patch-2
Browse files Browse the repository at this point in the history
IMG2IMG TIF batch fix img2img.py
  • Loading branch information
AUTOMATIC1111 authored Jul 29, 2023
2 parents 19ac0ad + 9cbf346 commit fc16321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/img2img.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
def process_batch(p, input_dir, output_dir, inpaint_mask_dir, args, to_scale=False, scale_by=1.0, use_png_info=False, png_info_props=None, png_info_dir=None):
processing.fix_seed(p)

images = list(shared.walk_files(input_dir, allowed_extensions=(".png", ".jpg", ".jpeg", ".webp")))
images = list(shared.walk_files(input_dir, allowed_extensions=(".png", ".jpg", ".jpeg", ".webp", ".tif", ".tiff")))

is_inpaint_batch = False
if inpaint_mask_dir:
Expand Down

0 comments on commit fc16321

Please sign in to comment.