1. libgd
  2. Untitled project
  3. gd-libgd

Source

gd-libgd / src / gd_wbmp.c

Diff from to

File src/gd_wbmp.c

  • Ignore whitespace
   return (im);
 }
 
+gdImagePtr
+gdImageCreateFromWBMPPtr (int size, void *data)
+{
+  gdImagePtr im;
+  gdIOCtx *in = gdNewDynamicCtxEx (size, data, 0);
+  im = gdImageCreateFromWBMPCtx (in);
+  in->gd_free (in);
+  return im;
+}
+
 /* gdImageWBMP
    ** -----------
  */