From ac3aa4d6648c1955b220f158a9b81f94c9ca7b47 Mon Sep 17 00:00:00 2001 From: John Evans Date: Wed, 12 Mar 2014 08:57:11 -0400 Subject: [PATCH] alpha is a uint16, not a uint16 pointer. #139 --- glymur/lib/openjp2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glymur/lib/openjp2.py b/glymur/lib/openjp2.py index 5430110..39dd5a4 100644 --- a/glymur/lib/openjp2.py +++ b/glymur/lib/openjp2.py @@ -395,7 +395,7 @@ class ImageCompType(ctypes.Structure): # alpha channel # TODO: exclude for 2.0, 1.5 - ("alpha", ctypes.POINTER(ctypes.c_uint16))] + ("alpha", ctypes.c_uint16)] class ImageType(ctypes.Structure):