You can explore the possibility of Web Archives. This is how a web archive starts:

MIME-Version: 1.0
X-Document-Type: Worksheet
Content-Type: multipart/related; boundary="----=_NextPart_01C3461B.AE5C1F00"

This document is a Web archive file. If you are seeing this message, this means your browser or editor doesn't support Web archive files. For more information on the Web archive format, go to

Content-Location: file:///C:/8B52764B/obrazok.htm
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset="windows-1250"

<html xmlns:v=3D"urn:schemas-microsoft-com:vml"

<meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dwindows-125=
<meta name=3DProgId content=3DExcel.Sheet>
<meta name=3DGenerator content=3D"Microsoft Excel 10">
... and so goes the head tag.

<body> <div id=3D"obrazok_11330" align=3Dcenter x:publishsource=3D"Excel">

<table x:str border=3D0 cellpadding=3D0 cellspacing=3D0 width=3D512 style=
<col width=3D64 span=3D8 style=3D'width:48pt'>
<tr height=3D17 style=3D'height:12.75pt'>
<td height=3D17 class=3Dxl1511330 width=3D64 style=3D'height:12.75pt;widt=

As you can see it is a simple mime multipart message with some html tags in it, there are plenty of classes that can help you to build this. Image will be in another part. Also check out the above mentioned link.

jan wrote:

Hi !

yes, that's the solution for BMP files. I would prefer using PNG of JPG
format. Is it possible ?


-- PHP General Mailing List ( To unsubscribe, visit:

Reply via email to