3 ms·
I've seen something similar before, where a specific JPEG header and specific quantization matrices was added to user-provided binary data to make the very low-
by Dwedit 4y ago
I've seen something similar before, where a specific JPEG header and specific quantization matrices was added to user-provided binary data to make the very low-res images. That method uses the native JPEG decoder, so it's fast.
- Scaevolus 4y agoInstagram does this, sending media previews as ~350B base64 strings with constant (well, almost-- they change the width and height) 607B JPEG headers.