[SciPy-user] Save array as tiff image

Sebastian Haase seb.haase@gmail....
Thu Jun 11 02:56:06 CDT 2009


On Thu, Jun 11, 2009 at 7:16 AM, Sahar<sahar@cmt.co.il> wrote:
> Hi,
> I would like to save a 2D array as tif image of 16bit gray scale.
>
> Thanks for your help,
>
> Sahar

Hi Sahar,

You need the python imaging library (PIL) for this.
Then it's no problem - there are even "helper functions" in scipy that
shorten a "3 liner" into a "one liner" - if I'm not mistaken.

HTH
Sebastian Haase



>
>
> *******************************************************************************************************
> This e-mail message may contain confidential,and privileged information or
> data that constitute proprietary information of CMT Medical Ltd. Any review
> or distribution by others is strictly prohibited. If you are not the
> intended recipient you are hereby notified that any use of this information
> or data by any other person is absolutely prohibited. If you are not the
> intended recipient, please delete all copies. Thank You.
> http://www.cmt.co.il
> ********************************************************************************************************
>
>
>
>
> ************************************************************************************
> This footnote confirms that this email message has been scanned by
> PineApp Mail-SeCure for the presence of malicious code, vandals & computer
> viruses.
> ************************************************************************************
>
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>
>


More information about the SciPy-user mailing list