From: kramm Date: Wed, 12 Oct 2005 18:27:47 +0000 (+0000) Subject: added function for reading images X-Git-Tag: xpdf-3-01~53 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=5cbe0e4e9b9c04322bd31e225ac9e95310a64755 added function for reading images --- diff --git a/lib/python/image.h b/lib/python/image.h index 6362658..2617d6a 100644 --- a/lib/python/image.h +++ b/lib/python/image.h @@ -31,5 +31,6 @@ int image_getWidth(PyObject*image); int image_getHeight(PyObject*image); int image_getBPP(PyObject*image); RGBA* image_toRGBA(PyObject*image); +PyObject* rgba_to_image(RGBA*rgba, int width, int height); #endif