mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-14 11:18:06 +08:00
Fix 64-bit multipage tiff writing segfault
This commit is contained in:
@@ -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