mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
39b40d6d99
Pillow will use nearest neighbour as the resampling algorithm if the source image is either 1-bit or a color palette using 8 bits. If we convert to RGB before scaling, we'll probably get a better result. |
||
---|---|---|
.. | ||
__init__.py | ||
_base.py | ||
config_resource.py | ||
download_resource.py | ||
filepath.py | ||
media_repository.py | ||
media_storage.py | ||
preview_url_resource.py | ||
storage_provider.py | ||
thumbnail_resource.py | ||
thumbnailer.py | ||
upload_resource.py |