
Loading…
chromium 19px browserAction icon is fuzzy #1049
https://github.com/gorhill/uBlock/blob/3c325442fcc73b673df20a7725ac1568857a4017/doc/img/ublock.svg
Don't know if that is the source file but the fuzzy part is the white border when the image get shrunk.
the fuzzy part is the white border when the image get shrunk
Yes.
The source is https://github.com/gorhill/uBlock/blob/master/doc/img/ublock.svg.
The border is 4-pixel wide when the icon is 128-pixel wide (4/128). This means ~0.5 pixel for 19-pixel wide. Setting the border to 1/19, translate into 8/128, which means a rather different icon than the reference one, and being as close to the reference one supersede not having sub-pixel rendering.
Please, do not submit pull requests, I am done spending time on this.
Is below whitish border expected?
It's exactly a 0.5-pixel wide border. Expected.
Hmmm..OK.
One last question reg. this, and the border color should be in white color? Is it not supposed to be red or whatever ublock icon color is...it looks rather weird.
It's not white. It's in between red and white, because it is a 0.5-pixel wide white border when uBlock's icon is rendered at 16-pixel.




As you can see, vertical and horizontal edges are not as sharp as they could be. Do you mind sharing the source so that I can update the 19px png icon?
I'm not sure if you use SVG, that's why I'm asking.
Last, but not least, this is a great project! Thank you!