Add image compression - #14
Conversation
|
@soulofmischief is attempting to deploy a commit to the WEBA Team on Vercel. To accomplish this, @soulofmischief needs to request access to the Team. Afterwards, an owner of the Team is required to accept their membership request. If you're already a member of the respective Vercel Team, make sure that your Personal Vercel Account is connected to your GitHub account. |
|
Could just use JPEG. Have you compared that? |
I haven't, but I figured take the easy gains now and then test quality/size of a few different image types/configurations later. Is that okay for now? |
|
I think JPEG would be fine in terms of live artifacts, plus it would load faster. If we wanted higher quality this seems like a good approach, but IMO speed is more important now. |
|
Closed for now in favor of #16 |
Compress images for ~1.8MiB wins using https://www.npmjs.com/package/browser-image-compression
We should fork this package if we're going to use it.