diff options
author | Manuel Stoeckl <code@mstoeckl.com> | 2021-08-23 21:23:12 -0400 |
---|---|---|
committer | Manuel Stoeckl <code@mstoeckl.com> | 2023-01-11 06:38:43 -0500 |
commit | b0a5c3a11fdcca4460b7c4cd5dc711e8b1d16537 (patch) | |
tree | 5ab005988e85201151cf19adc67fcccb803b1df7 /util | |
parent | 39179681d4b3223533b083615347bd88aa0c0fd6 (diff) | |
download | cairo-b0a5c3a11fdcca4460b7c4cd5dc711e8b1d16537.tar.gz |
Add remaining image formats to cairo-script constants table
This makes it possible to read cairo-script files which embed
RGB30/RGB96F/RGBA128F images.
Diffstat (limited to 'util')
-rw-r--r-- | util/cairo-script/cairo-script-operators.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 } |