Nikhil Kumar Mishra
|
c96dc1652e
|
test_upload: Add tests for `resize_emoji`.
|
2018-04-16 11:52:44 -07:00 |
Shubham Padia
|
13664f1289
|
uploads: Convert CMYK to RGB when saving avatar/realm icon as png.
Fixes #8546.
PNG does not support CMYK mode. CMYK file is converted to RGB and
then saved as PNG.
|
2018-03-02 12:57:22 -08:00 |
Eklavya Sharma
|
5ce80eb4ba
|
Update types of images accepted as avatars.
* Reject SVG in frontend because backend doesn't accept it.
* Add JPEG format in backend tests for avatar upload.
|
2016-07-26 16:36:47 +05:30 |
Eklavya Sharma
|
a2a8b54f6e
|
Upgrade pillow.
Update test images because pillow's resize algorithm has changed.
|
2016-07-26 16:36:07 +05:30 |
Eklavya Sharma
|
af7c3de5f5
|
Add SetAvatarTest to test_upload.py.
Test multiple file uploads for /json/set_avatar.
Test no file upload for /json/set_avatar.
Add test images for SetAvatarTest.
|
2016-04-20 12:23:22 +05:30 |