added function for reading images
authorkramm <kramm>
Wed, 12 Oct 2005 18:27:47 +0000 (18:27 +0000)
committerkramm <kramm>
Wed, 12 Oct 2005 18:27:47 +0000 (18:27 +0000)
lib/python/image.h

index 6362658..2617d6a 100644 (file)
@@ -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