Dear all,
I been trying to open a 32-bit (float) tif image with PIL without any
success.
I've tried:
fp = open("mytest32.tif", "rb")
im = Image.open(fp)
or
im = Image.fromstring("F", (512,512), "mytest32.tif", "raw", "F;32NF", 1,1)
or
im = Image.fromstring("F", (512,512), "mytest32.tif", "bit", 32,8,3 ,0,1)
I'm able to open an 8-bit image with
fp = open("mytest8.tif", "rb")
im = Image.open(fp)
Can you please explain to me hoe to proceed with an 32-bit image?
Whether you are interested, images (8-bit and 32-bit) are located here:
http://marie.epfl.ch/germanea/mytest8.tif
http://marie.epfl.ch/germanea/mytest32.tif
I thank you in advance,
Eric.
--
/Vivre dans la conscience du Tao
Se libérer du mental
<http://www.souffledor.fr/boutique/produits.php?cat=&id=2982>/---
Thierry Chaïbli ---
Dr. Éric Germaneau <http://dantian.free.fr>
Ecole polytechnique fédérale de Lausanne (EPFL)
FSB - IPMC
Laboratoire de Cristallographie (LCr) <http://lcr.epfl.ch>
BSP 518
CH-1015 Lausanne
Switzerland
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
/Tel./: +41 (0)21 / 693 06 36
/Fax./: +41 (0)21 / 693 05 04
/msn/: [EMAIL PROTECTED]
/skype/: aihaike
/ Please consider the environment before printing this email.
Considérez svp l'environnement avant d'imprimer cet email. /
_______________________________________________
Image-SIG maillist - Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig