mirror of
https://codeberg.org/readeck/readeck.git
synced 2025-12-22 13:17:10 +00:00
A call to img.Image.Encode() can convert the image to another format. For example, a WEBP image can turn into a PNG or JPEG, a GIF to a PNG or GIF. If the result needs to be open again with img.New(), we need its content-type. Resolves #955 root cause