On Fri, 12 Apr 2013 17:16:46 +0530 Juan Nunez-Iglesias <jni.soma@gmail.com> wrote:
Hi everyone,
Do any of you know about *writing* a numpy array to a multi-page TIFF file in Python? Last time I checked, you could only read those with PIL, not write. A quick Googling led me to Tiffany<https://bitbucket.org/pydica/tiffany>, but it doesn't seem to be particularly numpy-friendly...
Have a look at TiffIO from PyMca (or FabIO which are the same) which has this capabilities. Cheers, -- Jerome Kieffer <google@terre-adelie.org>
Thanks all. tifffile.py solved my problem. Stefan, the FreeImage plugin segfaulted when I fed it my data... =\ On Fri, Apr 12, 2013 at 7:26 PM, Jerome Kieffer <google@terre-adelie.org>wrote:
On Fri, 12 Apr 2013 17:16:46 +0530 Juan Nunez-Iglesias <jni.soma@gmail.com> wrote:
Hi everyone,
Do any of you know about *writing* a numpy array to a multi-page TIFF file in Python? Last time I checked, you could only read those with PIL, not write. A quick Googling led me to Tiffany<https://bitbucket.org/pydica/tiffany>, but it doesn't seem to be particularly numpy-friendly...
Have a look at TiffIO from PyMca (or FabIO which are the same) which has this capabilities.
Cheers,
-- Jerome Kieffer <google@terre-adelie.org>
participants (2)
-
Jerome Kieffer
-
Juan Nunez-Iglesias