Skip to content
Commit fe1b4b23 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

[thumbnail] Limit bits per pixel to 32

PreviewJob allocates shared memory for transferring the thumbnail data. There it assumes max. 32 bits per pixel

Now when we load an image with 64 bpp we fail to send it because not enough memory was allocated

To avoid this convert the image to a 32bit format if neccesary

For a small thumbnail we don't really need that much color bits anyway

BUG: 484183
(cherry picked from commit c169a773)
parent a8a98c9b
Pipeline #639429 passed with stage
in 2 minutes and 58 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment