summaryrefslogtreecommitdiff
path: root/server/szurubooru/func/images.py
AgeCommit message (Collapse)Author
2025-10-12Update ffmpeg commandsJakob L. Kreuze
2022-02-08server/func/images: upgrade to heif-image-pluginShyam Sunder
2022-01-16server/func/images: Do not pass file content to ffmpeg stdinShyam Sunder
2021-09-13client+server: fixed style errorsShyam Sunder
2021-05-07Add AVIF/HEIF/HEIC upload supportRuin0x11
2020-09-01client+server: fix linter issues due to updated pre-commit hooksShyam Sunder
2020-06-06client+server: implement code autoformatting using prettier and blackShyam Sunder
2019-07-27server/tools: add script to check audio flags for postsShyam Sunder
2019-02-11server/func/images: attempt to fix #225Shyam Sunder
2019-01-09server/func/images: work around ffmpeg bug 6375rr-
2018-12-22server/func/images: Fix Unicode ErrorShyam Sunder
2018-09-24server/posts: automatically detect sound in video post uploadsShyam Sunder
2018-03-08server/posts: auto convert GIFs to WEBMs/MP4sReAnzu
- Default setting is false for both conversions, as this will require additional resources of the server, but is bandwidth friendly for viewers - WEBM conversion is slow, but better quality than MP4 conversion with a typically smaller file size - Tags are copied over from the original upload - Snapshots are generated for the new auto posts
2018-03-08server/posts: ignore ffmpeg warningsReAnzu
Poorly formatted MP4 and WEBM sources can cause ffmpeg to throw a lot of warnings. However when there is byte ouptut, the generated thumbnail is valid. Add a bypass for the resize_fill function to allow ffmpeg to error.
2017-05-03server/images: handle resizing errorsrr-
2017-04-24server: lintrr-
2017-02-05server: refactor + add type hintingrr-
- Added type hinting (for now, 3.5-compatible) - Split `db` namespace into `db` module and `model` namespace - Changed elastic search to be created lazily for each operation - Changed to class based approach in entity serialization to allow stronger typing - Removed `required` argument from `context.get_*` family of functions; now it's implied if `default` argument is omitted - Changed `unalias_dict` implementation to use less magic inputs
2017-02-03server: make linters happierrr-
2017-01-25server/images: support webm with multiple streamsrr-
2016-10-22server: drop old style class declarationsrr-
2016-08-14server/general: embrace most of PEP8rr-
Ignored only the rules about continuing / hanging indentation. Also, added __init__.py to tests so that pylint discovers them. (I don't buy pytest's BS about installing your package.)
2016-06-02server/images: remove debug blobrr-
2016-06-02server/images: fix transaprent background for JPEGrr-
2016-06-02server/images: seek to 30% video before resizingrr-
2016-06-02server/images: work around ffmpeg bug 5609rr-
2016-05-20server/images: replace pipes with temp filesrr-
ffmpeg's GIF demuxer needs the input stream to be seekable, which rules pipes out.
2016-05-02server/posts: add post creatingrr-
2016-04-20server/general: rename 'util' to 'func'rr-