Skip to content

Commit

Permalink
Merge pull request #46 from v8hid/develop
Browse files Browse the repository at this point in the history
Post Process (Upsclaing), Vlad a1111 fork Integration, Prompts loading error fixes, choose Txt2img and Img2img model in setting, default output folder changed to /output/infinite-zoom, and other improvements
  • Loading branch information
v8hid committed Apr 21, 2023
2 parents 6daf257 + c5f77a5 commit 660aca3
Show file tree
Hide file tree
Showing 4 changed files with 342 additions and 55 deletions.
5 changes: 3 additions & 2 deletions iz_helpers/video.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ def write_video(file_path, frames, fps, reversed=True, start_frame_dupe_amount=1
if reversed == True:
frames = frames[::-1]

# Get dimensions of the frames
# w, h = frames[0].size
# Get dimensions of the first frames, all subsequent has to be same sized
for k in frames:
assert (k.size == frames[0].size,"Different frame sizes found!")

# Create an imageio video writer, avoid block size of 512.
writer = imageio.get_writer(file_path, fps=fps, macro_block_size=None)
Expand Down
Loading

0 comments on commit 660aca3

Please sign in to comment.