From b0a5c3a11fdcca4460b7c4cd5dc711e8b1d16537 Mon Sep 17 00:00:00 2001 From: Manuel Stoeckl Date: Mon, 23 Aug 2021 21:23:12 -0400 Subject: Add remaining image formats to cairo-script constants table This makes it possible to read cairo-script files which embed RGB30/RGB96F/RGBA128F images. --- util/cairo-script/cairo-script-operators.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'util') diff --git a/util/cairo-script/cairo-script-operators.c b/util/cairo-script/cairo-script-operators.c index d0452d338..21fba5cc7 100644 --- a/util/cairo-script/cairo-script-operators.c +++ b/util/cairo-script/cairo-script-operators.c @@ -6799,6 +6799,9 @@ _integer_constants[] = { { "RGB16_565", CAIRO_FORMAT_RGB16_565 }, { "RGB24", CAIRO_FORMAT_RGB24 }, { "ARGB32", CAIRO_FORMAT_ARGB32 }, + { "RGB30", CAIRO_FORMAT_RGB30 }, + { "RGB96F", CAIRO_FORMAT_RGB96F }, + { "RGBA128F", CAIRO_FORMAT_RGBA128F }, { "INVALID", CAIRO_FORMAT_INVALID }, { NULL, 0 } -- cgit v1.2.1