aboutsummaryrefslogtreecommitdiff
path: root/fastiv-browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'fastiv-browser.c')
-rw-r--r--fastiv-browser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fastiv-browser.c b/fastiv-browser.c
index 385096f..2db04ea 100644
--- a/fastiv-browser.c
+++ b/fastiv-browser.c
@@ -501,6 +501,8 @@ fastiv_browser_init(FastivBrowser *self)
self->glow = cairo_image_surface_create(CAIRO_FORMAT_A1, 0, 0);
}
+// NOTE: "It is important to note that when an image with an alpha channel is
+// scaled, linear encoded, pre-multiplied component values must be used!"
static cairo_surface_t *
rescale_thumbnail(cairo_surface_t *thumbnail)
{