From 5b7b3b1dfd5ce7c275881098310667b09562ad27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 11 Nov 2024 12:27:53 +0100 Subject: New upstream version 0.32.10 --- vapi/libwebp.vapi | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'vapi/libwebp.vapi') diff --git a/vapi/libwebp.vapi b/vapi/libwebp.vapi index 534dd2c..6e48bf4 100644 --- a/vapi/libwebp.vapi +++ b/vapi/libwebp.vapi @@ -1,5 +1,15 @@ [CCode (cheader_filename = "webp/decode.h")] namespace WebP { + public struct BitstreamFeatures { + int width; + int height; + bool has_alpha; + bool has_animation; + int format; + } [CCode (array_length = false, cname="WebPDecodeRGBA")] public static uint8[] DecodeRGBA([CCode (array_length_pos=1.1)]uint8[] data, out int width, out int height); + + [CCode (cname = "WebPGetFeatures")] + public static int GetFeatures([CCode (array_length_pos=1.1)]uint8[] data, out BitstreamFeatures featues); } -- cgit v1.2.3