All major and minor version changes will be documented in this file. Details of patch-level version changes can be found in commit messages.
- use ruff instead of pylint
- code quality improvements
- Improved the tutorial docs
- Bugfixes to
runfunction - Test
runfunction
Improvements per #4, thanks https://github.com/ArielMAJ for the improvements and the changelog :)
- Old
mainfunction is now calledrunand receives all the same arguments as expected from CLI with the same default values.- This means the user can now import
waifu2xand just runwaifu2x.run(input_img_path="./input.png", output_img_path="./output.png")to upscale images from a script. - This also means everything works the same (main function calls
run()with default args).
- This means the user can now import
- Added extra argument to
runand a few other functions in__init__.pyas to stop prints from happening (as they might not be wanted when importing this module.
Fix Pillow deprecations https://pillow.readthedocs.io/en/stable/deprecations.html#constants
- Improve tests
- Code improvements (docs + typing)
- Move docs
- Update pre-commit
- Added tests
$ poetry run py -m pytest test/test.py ===================================== test session starts ====================================== collected 4 items test\test.py .... [100%] ====================================== 4 passed in 16.80s ======================================
- Bump pillow version (CVE-2022-22815, CVE-2022-22816, CVE-2022-22817)
- Fix crash when image has no transparency
- pre-commit
- type-hinting (partial)
- code quality improvements
- fix alpha detection #1
- First release