1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-10-15 19:42:07 +00:00
miniflux-v2/internal/reader/icon
Julien Voisin 777d0dd248
feat: resize favicons before storing them
Some websites are using images of O(10kB) when not )O(100kB) for their
favicons. As miniflux only displays them with a 16x16 resolution, let's do our
best to resize them before storing them in the database. This should make
miniflux consume less bandwidth when serving pages, for the joy of mobile users
on a small data plan.

Of course, images that already are 16x16 aren't resized.
2024-12-15 20:47:19 -08:00
..
checker.go fix: load icon from site URL instead of feed URL 2024-12-07 16:06:26 -08:00
finder.go feat: resize favicons before storing them 2024-12-15 20:47:19 -08:00
finder_test.go feat: resize favicons before storing them 2024-12-15 20:47:19 -08:00