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 http://officeupdate.microsoft.com/office/webarchive.htm

------=_NextPart_01C3461B.AE5C1F00
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"
xmlns:o=3D"urn:schemas-microsoft-com:office:office"
xmlns:x=3D"urn:schemas-microsoft-com:office:excel"
xmlns=3D"http://www.w3.org/TR/REC-html40";>

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dwindows-125=
0">
<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=
=3D'border-collapse:
collapse;table-layout:fixed;width:384pt'>
<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=
h:48pt'>halo</td>
.....


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 !

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

Jan



-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to