[server] `func/images.py`: - `Image` is now `Image` and `Video`, with their own post-type-specific operations; some of them from `func/metadata.py`. as a result, post type checking will need to be done outside of the classes - apply orientation to [fixed] thumbnail generation and image conversion - moved `_execute` to a global function; it now purely uses streams instead of tempfiles - `func/images.py::Video::to_mp4()` removed code that downscales resolution to an even number since ffmpeg does it automatically - use fstrings instead of .format and % in certain places - DEPRECATING FLASH FILES; there really is no place for them in a photo-oriented booru such as this. will slowly phase it out overtime. added an error message for it - changed EXIF orientation reference URL [server] `func/posts.py`: - `update_post_content()`: updated to use `func/images.py`'s new features |
||
---|---|---|
.. | ||
szurubooru | ||
.dockerignore | ||
.flake8 | ||
alembic.ini | ||
config.yaml.dist | ||
dev-requirements.txt | ||
docker-start.sh | ||
Dockerfile | ||
pyproject.toml | ||
requirements.txt | ||
szuru-admin |