Thegreatsuspender: Consider to change all the img to webp

Created on 7 Dec 2018  路  5Comments  路  Source: greatsuspender/thegreatsuspender

Dear Community,

As the project aims to serve the user under Google chrome. I would like to suggect to replace all the image from png to webp in order to reduce the size of the extension.

Can anyone give me some feedback about it?

It anything is ok then I would like to submit a pull request to webp extension.

Best,
Alpha

stale

Most helpful comment

@AlphaWong just to be clear, what images are we talking about here? are you referring to the ones located at /src/img/ ?
Is your concern solely with the package size of the extension? If so, I really don't see an extra few KBs really making any difference?

Sure. I just wondering can it be compress. As after I compress https://github.com/deanoemcke/thegreatsuspender/blob/master/src/img/suspendy-guy.png. It seems can reduce 44% size of it.

reference

image

tools

https://github.com/google/zopfli

All 5 comments

Good call. This extension actually us used in other browsers too, though that's not common.perhaps if your PR also did some browser sniffing to fallback to png if it isn't chrome?

I think the extension do serve blink engine only am I correct ?

@AlphaWong just to be clear, what images are we talking about here? are you referring to the ones located at /src/img/ ?
Is your concern solely with the package size of the extension? If so, I really don't see an extra few KBs really making any difference?

@AlphaWong just to be clear, what images are we talking about here? are you referring to the ones located at /src/img/ ?
Is your concern solely with the package size of the extension? If so, I really don't see an extra few KBs really making any difference?

Sure. I just wondering can it be compress. As after I compress https://github.com/deanoemcke/thegreatsuspender/blob/master/src/img/suspendy-guy.png. It seems can reduce 44% size of it.

reference

image

tools

https://github.com/google/zopfli

This issue has been automatically marked as stale because it has not had any new activity for 180 days. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings