zulip/zerver/tests/images
Alex Vandiver 8bd8a33dd2 thumbnail: Show the first few frames of large animated images.
71406ac767 switched the IMAGE_BOMB_TOTAL_PIXELS cutoff for what
images we preview to include the number of frames in the calculation.
While accurate to the implementation (thumbnailing a 1k-frame animation is
prohibitive, even a small resolutions), this was a behaviour change
from without thumbnailing -- animated gifs did not display inline at
all anymore.

Switch to thumbnailing as many frames as we can fit into a pixel-based
animated thumbnailing threshold, with a minimum of three (to be able
to convey that the image is actually animated).  Smaller-resolution
images will hence get more frames in their preview.  This also allows
the standard animate-on-hover or always-animate behaviour to be true
to their configurations, without confusing edge cases.

Fixes: #32609.
2025-01-15 09:56:19 -08:00
..
actually-a-bmp.png thumbnail: Lock down which formats we parse. 2024-07-11 07:31:39 -07:00
animated_img.gif
animated_large_img.gif
animated_many_frames.gif thumbnail: Show the first few frames of large animated images. 2025-01-15 09:56:19 -08:00
animated_unequal_img.gif
bomb.png
cmyk.jpg
corrupt.gif
corrupt.png
gif_resized.png
img.bmp
img.gif
img.jpg
img.png
img.svg
img.tif
jpg_resized.png
orientation.jpg thumbnail: Store the post-orientation-transformation dimensions. 2024-07-24 09:56:42 -07:00
png_resized.png
still_large_img.gif
text.txt
tif_resized.png
truncated.gif upload: Generate thumbnails when images are uploaded. 2024-07-16 13:22:15 -07:00
unsupported.bmp thumbnail: Use a consistent set of supported image types. 2024-07-11 07:31:39 -07:00