Help need with converting Hex string to IEEE format float

Fredrik Lundh fredrik at pythonware.com
Tue Dec 14 11:32:31 EST 2004


Max M wrote:

> Oh, programmers loves this kind stuff. You should get tons of answers.

data = '80 00 00 00'

import Image
v = Image.fromstring("F", (1, 1), data, "hex", "F;32BF").getpixel((0, 0))

</F> 






More information about the Python-list mailing list