fix VipsBlob read
oops, forgot the .get()
This commit is contained in:
parent
01b409bdba
commit
b01dd59309
@ -1,5 +1,7 @@
|
||||
24/12/14 started 7.42.1
|
||||
- add gobject-2.0 to Requires: in vips and vips-cpp .pc files
|
||||
- bump soname
|
||||
- fix VipsBlob read
|
||||
|
||||
4/11/14 started 7.42.0
|
||||
- better default resolution for png load
|
||||
|
@ -84,7 +84,7 @@ def imageize(match_image, value):
|
||||
# unfortunately pygobject does not support this ... so for blobs we just use
|
||||
# bytes().
|
||||
|
||||
unpack_types = [[Vips.Blob, bytes],
|
||||
unpack_types = [[Vips.Blob, lambda x: bytes(x.get())],
|
||||
[Vips.ArrayDouble, lambda x: x.get()],
|
||||
[Vips.ArrayImage, lambda x: x.get()],
|
||||
[Vips.ArrayInt, lambda x: x.get()]]
|
||||
|
Loading…
Reference in New Issue
Block a user