[Image-SIG] 16 bit support

Tom Harris ThePloppies@bigpond.com
Thu, 30 Aug 2001 21:06:29 +1000


This is a multi-part message in MIME format.

------=_NextPart_000_0016_01C13197.A3309F60
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi

Early days playing with PIL, I have added PGM support to load and save =
16 bit images, is anyone interested in the patch (its only a few lines)? =


A question was posted some time ago on this list about the behaviour of =
the histogram method on integer images, which went unanswered. Could I =
respectfully ask if there is much interest in extending PIL so that =
there are working implementations of useful methods such as (for =
example) histograms for modes I and F. This raises several =
implementation questions, for example it becomes worthwhile caching the =
extreme values of the image data, and a histogram of a mode F image =
would need to define bin width as well as extremes.=20

A last question, I have not been able to find out anything about the IM =
image format supported by the PIL. Even my prized OReilly Encyclopaedia =
of graphics File Formats is silent. Could anyone enlighten me?

Tom Harris TheNOSPAMPloppies@bigpond.com
 [remove NOSPAM to reply]

------=_NextPart_000_0016_01C13197.A3309F60
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.2106.6"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>Hi</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Early days playing with PIL, I have =
added PGM=20
support to load and save 16 bit images, is anyone interested in the =
patch (its=20
only a few lines)? </FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>A question was posted some time ago =
on this list=20
about the behaviour of the histogram method on integer images, which =
went=20
unanswered. Could I respectfully ask if there is much interest in =
extending PIL=20
so that there are working implementations of useful methods such as (for =

example) histograms for modes I and F. This raises several =
implementation=20
questions, for example it becomes worthwhile caching the extreme values =
of the=20
image data, and a histogram of a mode F image would need to define bin =
width as=20
well as extremes. </FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>A last question, I have not been =
able to find=20
out anything about the IM image format supported by the PIL. Even my =
prized=20
OReilly Encyclopaedia of graphics File Formats is silent. Could anyone =
enlighten=20
me?</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Tom Harris <A=20
href=3D"mailto:TheNOSPAMPloppies@bigpond.com">TheNOSPAMPloppies@bigpond.c=
om</A><BR>&nbsp;[remove=20
NOSPAM to reply]</FONT></DIV></BODY></HTML>

------=_NextPart_000_0016_01C13197.A3309F60--