mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-28 13:20:14 +08:00
Fix 64-bit multipage tiff writing segfault
This commit is contained in:
1 parent
6dbb4d2acb
commit
ab8b325ff4
1 file changed
+1
@@ -593,6 +593,7 @@ def write_multipage(arrays, filename, flags=0):
|
||||
multibitmap = _FI.FreeImage_OpenMultiBitmap(ftype, filename,
|
||||
create_new, read_only,
|
||||
keep_cache_in_memory, 0)
|
||||
multibitmap = ctypes.c_void_p(multibitmap)
|
||||
if not multibitmap:
|
||||
raise ValueError('Could not open %s for writing multi-page image.' %
|
||||
filename)
|
||||
|
||||
Reference in new issue
Block a user