Skip to content

2.1.0

Compare
Choose a tag to compare
@rkhamilton rkhamilton released this 03 Nov 21:25
· 74 commits to main since this release
1a0f2f7

This release adds support for multiple export filetypes in addition to PNG. Exports to jpeg or PNG will have metadata embedded that describe the media generation settings. PNG files have already had metadata stored in PNG data chunks. JPG files, available in 2.1, have metadata stored in the exif fields XPTitle and XPComment. Other export filetypes are supported for still images, provded they are types supported by Pillow.

I ran a lot of side-by-side comparisons of different cut_method approaches, and found the 'kornia' method produces more interesting small details in results, as compared to the 'original' and 'sg3' methods. I've changed the default cut_method to 'kornia'. You can get the old behavior back by setting config.cut_method='original' if desired. I'm doing more detailed comparisons into ways to create cuts and exploring alternatives for the future.

API changes

  • Engine.save_current_output() argument png_info, type changed to img_metadata.
  • _functional.copy_PNG_metadata replaced with _functional.copy_image_metadata. This function handles jpg and png files.

Bug Fixes

  • Real-ESRGAN script was not handling folders of complex filenames with spaces and special character.
  • Fix for extracting video from folders with long paths with spaces.
  • Improvements to progress bar accuracy for generate.video_frames().
  • Fixed regression in RIFE wrapper. Now tested and working on Google Colab.
  • The tqdm progressbar has been updated to work correctly in Jupyter notebooks.
  • video_tools.encode_video() fixed to work on linux systems (Google Colab).