zulip/zerver/tests/images
Daniel Bradburn 1e65cdd072 emoji: Only resize custom emoji that need it.
This additional logic to prevent resizing is certain circumstances
(file size, dimensions) is necessary because the pillow gif handling
code seems to be rather flaky with regards to handling gif color
palletes, causing broken gifs after resizing.  The workaround is to
only resize when absolutely necessary (e.g. because the file is larger
than 128x128 or 128KB).

Fixes #10351.
2019-01-29 10:33:50 -08:00
..
animated_img.gif test_upload: Add tests for resize_emoji. 2018-04-16 11:52:44 -07:00
animated_large_img.gif emoji: Only resize custom emoji that need it. 2019-01-29 10:33:50 -08:00
animated_unequal_img.gif test_upload: Add tests for resize_emoji. 2018-04-16 11:52:44 -07:00
bomb.png uploads: Return a HTTP 400 error for a decompression bomb attack. 2019-01-13 08:17:24 +00:00
cmyk.jpg uploads: Convert CMYK to RGB when saving avatar/realm icon as png. 2018-03-02 12:57:22 -08:00
corrupt.gif
corrupt.png
gif_resized.png
img_no_exif.jpg upload: Add test jpg image with no exif data. 2018-05-31 08:08:59 -07:00
img_orientation_3.jpg upload: Rotate image according to exif data when resizing avatar and emojis. 2018-05-29 10:39:39 -07:00
img_orientation_6.jpg upload: Rotate image according to exif data when resizing avatar and emojis. 2018-05-29 10:39:39 -07:00
img_orientation_8.jpg upload: Rotate image according to exif data when resizing avatar and emojis. 2018-05-29 10:39:39 -07:00
img.bmp
img.gif
img.jpg
img.png
img.svg
img.tif
jpg_resized.png Update types of images accepted as avatars. 2016-07-26 16:36:47 +05:30
png_resized.png
text.txt
tif_resized.png