Alex Vandiver
b14a33c659
thumbnailing: Switch to libvips, from PIL/pillow.
...
This is done in as much of a drop-in fashion as possible. Note that
libvips does not support animated PNGs[^1], and as such this
conversion removes support for them as emoji; however, libvips
includes support for webp images, which future commits will take
advantage of.
This removes the MAX_EMOJI_GIF_SIZE limit, since that existed to work
around bugs in Pillow. MAX_EMOJI_GIF_FILE_SIZE_BYTES is fixed to
actually be 128KiB (not 128MiB, as it actually was), and is counted
_after_ resizing, since the point is to limit the amount of data
transfer to clients.
[^1]: https://github.com/libvips/libvips/discussions/2000
2024-06-26 16:42:57 -07:00
..
2024-06-25 15:37:31 -07:00
2024-06-26 16:42:57 -07:00
2024-03-01 09:30:04 -08:00
2024-05-24 10:18:37 -07:00
2024-04-24 14:35:05 -07:00
2023-12-16 22:08:44 -08:00
2023-10-12 12:28:41 -07:00
2023-12-16 22:08:44 -08:00
2023-07-19 10:54:05 -07:00
2024-06-20 23:06:08 -04:00
2023-08-02 15:58:55 -07:00
2024-04-03 12:28:05 -07:00
2024-03-21 08:59:17 -07:00
2024-05-15 11:21:46 -07:00
2024-03-04 16:35:57 -08:00
2024-04-16 10:41:45 -07:00
2024-01-29 10:41:54 -08:00
2023-12-05 12:01:18 -08:00
2024-03-06 10:35:02 -08:00
2024-06-20 23:06:08 -04:00
2023-09-13 12:41:23 -07:00
2024-04-17 16:49:03 -07:00
2024-04-17 16:49:03 -07:00
2023-08-06 18:06:42 -07:00
2024-02-29 17:07:16 -08:00
2024-04-24 14:35:05 -07:00
2024-03-21 16:39:33 -07:00
2024-04-26 12:30:31 -07:00
2024-04-24 14:35:05 -07:00
2024-04-26 12:30:31 -07:00
2024-04-26 17:03:09 -07:00
2024-05-08 11:12:43 -07:00
2024-02-27 10:19:23 -08:00
2023-08-23 16:18:15 -07:00
2024-06-26 16:42:57 -07:00
2024-06-20 15:48:14 -07:00
2024-06-24 10:00:08 -07:00
2024-05-14 12:17:15 -07:00
2024-06-02 22:08:28 -07:00
2024-02-29 17:07:16 -08:00
2023-08-07 17:23:55 -07:00
2024-01-29 10:41:54 -08:00
2024-06-22 18:53:56 -07:00
2024-04-16 10:41:45 -07:00
2023-10-01 21:10:13 +02:00
2024-06-26 16:38:01 -07:00
2024-06-12 06:44:14 -07:00
2024-05-02 14:23:04 -07:00
2023-10-12 12:28:41 -07:00
2024-05-24 10:30:16 -07:00
2024-04-26 17:03:09 -07:00
2024-04-16 23:02:16 -07:00
2024-05-30 11:32:52 -07:00
2023-12-06 18:19:20 -08:00
2024-06-20 15:29:20 -07:00
2023-12-05 12:01:18 -08:00
2024-06-20 23:06:08 -04:00
2024-04-16 09:48:11 -07:00
2024-06-17 18:22:50 -07:00
2024-06-20 12:22:37 -07:00
2024-01-29 10:41:54 -08:00
2024-04-26 17:03:09 -07:00
2024-06-18 09:39:50 -07:00
2024-06-24 10:44:30 -07:00
2024-03-15 15:34:12 -07:00
2024-02-14 12:27:03 -08:00
2024-04-29 17:14:41 -07:00
2023-08-11 11:09:34 -07:00
2024-06-07 13:57:40 -07:00
2024-06-17 18:26:26 -07:00
2023-12-16 22:08:44 -08:00
2024-05-31 15:41:19 -07:00
2024-05-31 14:32:33 -07:00
2024-04-24 14:35:05 -07:00
2024-04-16 09:57:55 -07:00
2024-04-19 10:25:34 -07:00
2024-06-23 07:44:11 -07:00
2024-04-16 10:41:45 -07:00
2023-10-12 12:28:41 -07:00
2024-02-29 17:07:16 -08:00
2024-05-09 10:54:44 -07:00
2023-10-12 12:28:41 -07:00
2023-12-16 22:08:44 -08:00
2024-05-24 10:18:37 -07:00
2024-05-20 13:55:00 -07:00
2024-05-24 11:18:35 -07:00
2024-06-02 22:08:28 -07:00
2023-12-16 22:08:44 -08:00
2024-04-24 17:40:37 -07:00
2023-10-12 12:28:41 -07:00
2023-10-12 12:28:41 -07:00
2024-04-16 23:02:16 -07:00
2023-12-05 12:01:18 -08:00
2024-06-05 10:44:53 -07:00
2024-04-24 14:35:05 -07:00
2023-12-05 13:03:07 -08:00
2024-04-24 14:35:05 -07:00
2024-06-22 18:53:56 -07:00
2024-04-16 14:51:39 -07:00
2024-05-20 13:55:00 -07:00
2024-04-29 17:14:41 -07:00
2024-03-15 15:34:12 -07:00
2024-06-26 16:42:57 -07:00
2024-04-18 11:50:38 -07:00
2023-12-05 12:01:18 -08:00
2024-04-01 18:32:52 -07:00
2024-06-17 18:22:50 -07:00
2024-04-16 09:48:11 -07:00
2024-06-26 16:38:01 -07:00
2024-06-06 16:50:56 -07:00
2024-05-22 17:20:37 -07:00
2024-06-19 18:29:28 -07:00
2024-06-17 10:42:32 -07:00
2024-05-08 11:12:43 -07:00
2024-05-07 16:51:48 -07:00
2024-04-26 12:30:31 -07:00
2023-09-13 12:41:23 -07:00
2024-06-04 09:55:27 -07:00
2024-03-26 10:52:37 -07:00
2024-05-22 18:07:22 -07:00
2024-06-17 11:21:30 -07:00
2024-05-22 17:20:37 -07:00
2024-04-15 15:08:56 -07:00
2024-05-16 02:18:43 -07:00
2024-04-30 12:36:42 -07:00
2023-08-02 15:58:55 -07:00
2024-06-20 15:30:47 -07:00