make image module way more robust

- Create a better (more) re-usable flow for downloading images to disk and inserting images into the db
- Validate images properly by reading them fully and using DecodeConfig
- Fix some security issues by re-encoding images
- Always outputs one format `jpeg`, which keeps everything "normalized" and adds compression to images (mainly user uploads which might be big).
This commit is contained in:
IRHM
2026-07-08 19:31:26 +01:00
committed by momi
parent 34f7f54e72
commit 4cc9bd3edb
12 changed files with 389 additions and 144 deletions
+1
View File
@@ -49,6 +49,7 @@ If you backup your database by copying the .db file (while your server is stoppe
- import: myanimelist: Don't import start/finish dates when they are empty.
- Star and Play icons color.
- Activity: Fixed automation tooltip going out of bounds by moving it to top.
- Make `image` package a lot more robust.
## Removed