io.imsave() problems with passing arguments to plugin "freeimage"

Sigmund siggin at gmail.com
Tue Jul 10 09:35:07 EDT 2012


Hey!

Whil writing the test code I found out that saving the array by itself 
doesn't cause the error. Only after summing two arrays it fails. 

import numpy as np
import skimage.io as io
io.use_plugin("freeimage", "imread")
one = np.ones([2048,2048],dtype=np.int32)
two = np.zeros([2048,2048],dtype=np.int32)
summation = one + two
io.imsave("test.tif",summation, plugin="freeimage")

 not using the freeimage plugin in not failing.

Siggi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20120710/a4453dea/attachment.html>


More information about the scikit-image mailing list