phpbar.de logo

Mailinglisten-Archive

[php] gd lib wbmp

[php] gd lib wbmp

Harald Hochwald harald.hochwald_(at)_fastmovingbytes.com
Sun, 14 Jan 2001 12:38:00 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0000_01C07E26.D468F840
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

Hi,
ich habe versucht mit hilfe der gd lib ein wbmp aus einer jpg datei zu
erstellen, das ganze liefert mir zwar ein bild, allerdings nur müll, der
code sieht so aus

<?php
  header("Content-type: image/vnd.wap.wbmp");
  $image = imagecreatefromjpg("test.jpg");
 Imagewbmp($image);
?>

liegt es an meiner gd dll? Aus wbmp kann ich ohne probleme jpg  erstellen,
muß ich sonst irgendwas beachten

danke schön
Harald

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

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 9">
<meta name=3DOriginator content=3D"Microsoft Word 9">
<link rel=3DFile-List href=3D"cid:filelist.xml_(at)_01C07E26.D42BEF40">
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:View>Normal</w:View>
  <w:Zoom>0</w:Zoom>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:HyphenationZone>21</w:HyphenationZone>
  <w:EnvelopeVis/>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0cm;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
	{margin:0cm;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
span.EmailFormatvorlage15
	{mso-style-type:personal-compose;
	mso-ansi-font-size:10.0pt;
	mso-ascii-font-family:Arial;
	mso-hansi-font-family:Arial;
	mso-bidi-font-family:Arial;
	color:black;}
_(at)_page Section1
	{size:595.3pt 841.9pt;
	margin:70.85pt 70.85pt 2.0cm 70.85pt;
	mso-header-margin:35.4pt;
	mso-footer-margin:35.4pt;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
-->
</style>
</head>

<body lang=3DDE style=3D'tab-interval:35.4pt'>

<div class=3DSection1>

<p class=3DMsoNormal><span class=3DEmailFormatvorlage15><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>Hi,<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailFormatvorlage15><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>ich habe versucht mit hilfe der gd lib ein wbmp aus einer jpg =
datei zu
erstellen, das ganze liefert mir zwar ein bild, allerdings nur m=FCll, =
der code
sieht so aus<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailFormatvorlage15><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailFormatvorlage15><font size=3D2 =
color=3Dblack
face=3DArial><span lang=3DEN-GB =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;
font-family:Arial;mso-ansi-language:EN-GB'>&lt;?php =
<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailFormatvorlage15><font size=3D2 =
color=3Dblack
face=3DArial><span lang=3DEN-GB =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;
font-family:Arial;mso-ansi-language:EN-GB'><span style=3D"mso-spacerun:
yes">&nbsp; </span>header(&quot;Content-type: =
image/vnd.wap.wbmp&quot;);<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailFormatvorlage15><font size=3D2 =
color=3Dblack
face=3DArial><span lang=3DEN-GB =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;
font-family:Arial;mso-ansi-language:EN-GB'><span style=3D"mso-spacerun:
yes">&nbsp; </span>$image =3D imagecreatefromjpg(&quot;test.jpg&quot;); =
<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailFormatvorlage15><font size=3D2 =
color=3Dblack
face=3DArial><span lang=3DEN-GB =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;
font-family:Arial;mso-ansi-language:EN-GB'><span style=3D"mso-spacerun:
yes">&nbsp;</span></span></font></span><span =
class=3DEmailFormatvorlage15><font
size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'>Imagewbmp($image);<o:p></o:p></span></font></sp=
an></p>

<p class=3DMsoNormal><span class=3DEmailFormatvorlage15><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>?&gt;<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailFormatvorlage15><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailFormatvorlage15><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>liegt es an meiner gd dll? Aus wbmp kann ich ohne probleme =
jpg<span
style=3D"mso-spacerun: yes">&nbsp; </span>erstellen, =
<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailFormatvorlage15><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>mu=DF ich sonst irgendwas =
beachten<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailFormatvorlage15><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailFormatvorlage15><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>danke sch=F6n<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailFormatvorlage15><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>Harald<o:p></o:p></span></font></span></p>

</div>

</body>

</html>

------=_NextPart_000_0000_01C07E26.D468F840--




php::bar PHP Wiki   -   Listenarchive