[Zope] How can I test for type of image

Robert Rottermann robert@redcor.ch
Fri, 29 Jun 2001 13:37:38 +0200


This is a multi-part message in MIME format.

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

Hi there,
I would like to test of what type an image is. How can I do that?
I think I saw some code once but can not find it anymor.

Thanks for your tips
Robert

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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi there,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I would like to test of what =
type&nbsp;an image is.=20
How can I do that?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I think I saw some code once but can =
not find it=20
anymor.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks for your tips</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Robert</FONT></DIV></BODY></HTML>

------=_NextPart_000_0096_01C100A0.A9B36C00--