馃悰 [Bug] Cropping JPG teaser images adds black background
Created by: Tirokk
Authored by sushidave
馃悰 Bugreport
If a user crops a teaser image in JPG format and selects part of the checked background the image gets a black background. This does not happen with GIF and PNG images.
JPG (left: after upload | right: after confirm)
PNG (left: after upload | right: after confirm)
Steps to reproduce the behavior
- Create a new post.
- Upload a JPG teaser image with a different width-height ratio than 3:2.
- Crop the image including some background.
- Click on the confirm button.
- Check the teaser image.
Expected behavior
The background should be cropped also for JPG images.
Version & Environment
Type: [Notebook]
- OS: [macOS]
- Browser: [Firefox 73.0.1]
- Version []
- Device: [MacBook]
Additional information
Reported by user hannelore_at: https://human-connection.social/post/b28afda8-1b54-4965-ab60-01fe0cc80552/testbild-was-ist-passiert-1