aboutsummaryrefslogtreecommitdiff
path: root/fastiv-browser.c
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-11-13 09:03:29 +0100
committerPřemysl Eric Janouch <p@janouch.name>2021-11-13 09:06:01 +0100
commitd20c6469c0f420ebf16499881b28e2b5539fa248 (patch)
tree1101ba572c2cbf3229bca212a664455e6b9d865c /fastiv-browser.c
parentf7c1006053225427aea0828713b9b51546d3b510 (diff)
downloadfiv-d20c6469c0f420ebf16499881b28e2b5539fa248.tar.gz
fiv-d20c6469c0f420ebf16499881b28e2b5539fa248.tar.xz
fiv-d20c6469c0f420ebf16499881b28e2b5539fa248.zip
Clean up
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)
{