You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the first part of #28. It defaults to false to maintain synapse parity and normal expected behaviour. This commit does the basic gif->png thumbnailing (forced when required), but does not handle resizing gifs.
This doesn't work on two grounds:
* There is significant pixelation
* The resulting image size is wrong (but the frames are correct)
This is part of #28 and needs some cleaning up before it's an active code path. Pushing now because this code path won't be activated under normal circumstances.
* Use a swap image for resizing the frame (otherwise the frame gets corrupted)
* Use a linear resample filter (better output quality)
* Redraw the frame using a different technique
* Set the bounds of the image on the image config prior to re-encoding (otherwise the image has a bunch of whitespace)
This finishes #28
As per notes in element-hq/element-web#5922 (comment) - nothing is really set in stone there, it's just an idea at this point.
The text was updated successfully, but these errors were encountered: