GoogleChromeLabs / squoosh

Make images smaller using best-in-class codecs, right in the browser.
https://squoosh.app
Apache License 2.0
21.69k stars 1.52k forks source link

Investigate raster image to vector conversion #986

Open surma opened 3 years ago

surma commented 3 years ago
jakearchibald commented 3 years ago

We'd need to make it clear that this is a bitmap trace rather than "SVG output". Otherwise, if you load an SVG and select SVG output, it might not be clear that it's doing a round trip through a bitmap.

surma commented 3 years ago

Yeah. Could also just hide this when the input is a vector image?

jakearchibald commented 3 years ago

Maybe. Although maybe there are times what you might want to do the round trip.

SVG with lots of gradients -> Bitmap -> Reduce palette -> Trace to SVG

surma commented 3 years ago

Oh yeah, good point.

kosamari commented 3 years ago

Note: listing codec & UI label because this will be a shared feature (I know it is not exactly a codec :)