2 ms·
What would the best format to convert user-submitted images? We need to update our image pipeline soon, so I'm looking into various options. It looks like you
by orestis 5y ago
What would the best format to convert user-submitted images? We need to update our image pipeline soon, so I'm looking into various options.
It looks like you still have to keep jpg/png around for a few years at least. Even if you drop IE11, there's a few versions of Safari out there that don't support even WebP.
So the pipeline would be:
* png -> resize -> png/lossless webp
* jpg/other -> resize -> jpg/webp
Where "other" is whatever format iPhone cameras use.
Is there anything I'm missing if I were to do this today?