shy-neon / favtool

An app that allows you to easily change icons of your favorite sites on Safari
353 stars 8 forks source link

Translucency missing for icons with transparent backgrounds #8

Closed Kresimos closed 1 year ago

Kresimos commented 1 year ago
Screenshot 2022-08-30 at 22 53 54 image

When icons with transparent backgrounds are used for a site with previously no icon (i.e just a letter), the background appears transparent (like for the ladybug icon in the screenshot attached), yet when an icon with a transparent background is used for a site which already had an icon the background appears translucent and the icon slightly smaller.

Not sure why this is happening. It would be better if the translucency would appear for all sites.

(note the same image was used for both the icons in the second screenshot)

Syrephis commented 1 year ago

This is because the transparency_analysis_result field of the cache_settings table needs to be set to a proper value. Different values have different effects. Full transparent, glass background etc. I don't remember which is which exactly but 1 = glass and I have it set for every icon. Another column sets the crop. New feature @shy-neon 😀?

shy-neon commented 1 year ago

I've mess a bit with transparency_analysis_result with no luck yet. Did you managed to succesfuly change the effect? And have you any reference or useful resource? @Syrephis

shy-neon commented 1 year ago

version 4.2 solved this issue, closed