summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorgeequlim <geequlim@gmail.com>2018-07-15 01:42:37 +0800
committergeequlim <geequlim@gmail.com>2018-07-17 12:03:45 +0800
commitc5efe5d625529af5df908808791599f8dceaf50c (patch)
tree043f176d55331ecea69eba1a4520148bcefc98fe /doc/classes
parent1fc7973a00e17025441b6b8333e38d1606c1d304 (diff)
Add webp buffer loader for Image
Cleanup the code memory load related code for Image Fix jpeg buff load function always returns OK event failed
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/Image.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/classes/Image.xml b/doc/classes/Image.xml
index 9fc7672a80..e10485a6b2 100644
--- a/doc/classes/Image.xml
+++ b/doc/classes/Image.xml
@@ -350,6 +350,15 @@
Loads an image from the binary contents of a PNG file.
</description>
</method>
+ <method name="load_webp_from_buffer">
+ <return type="int" enum="Error">
+ </return>
+ <argument index="0" name="buffer" type="PoolByteArray">
+ </argument>
+ <description>
+ Loads an image from the binary contents of a WebP file.
+ </description>
+ </method>
<method name="lock">
<return type="void">
</return>