<HTML ><HEAD ><TITLE >jpeg2wbmp</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="PHP Manual" HREF="index.html"><LINK REL="UP" TITLE="Image functions" HREF="ref.image.html"><LINK REL="PREVIOUS" TITLE="iptcparse" HREF="function.iptcparse.html"><LINK REL="NEXT" TITLE="png2wbmp" HREF="function.png2wbmp.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1"></HEAD ><BODY CLASS="refentry" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >PHP Manual</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.iptcparse.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.png2wbmp.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.jpeg2wbmp" ></A >jpeg2wbmp</H1 ><DIV CLASS="refnamediv" ><A NAME="AEN36967" ></A ><P > (PHP 4 >= 4.0.5)</P >jpeg2wbmp -- Convert JPEG image file to WBMP image file</DIV ><DIV CLASS="refsect1" ><A NAME="AEN36970" ></A ><H2 >Description</H2 >int <B CLASS="methodname" >jpeg2wbmp</B > ( string jpegname, string wbmpname, int d_height, int d_width, int threshold)<BR ></BR ><P > Converts the <TT CLASS="parameter" ><I >jpegname</I ></TT > JPEG file to WBMP format, and saves it as <TT CLASS="parameter" ><I >wbmpname</I ></TT >. With the <TT CLASS="parameter" ><I >d_height</I ></TT > and <TT CLASS="parameter" ><I >d_width</I ></TT > you specify the height and width of the destination image. </P ><P > <DIV CLASS="note" ><BLOCKQUOTE CLASS="note" ><P ><B >Note: </B > WBMP support is only available if PHP was compiled against GD-1.8 or later. </P ></BLOCKQUOTE ></DIV > </P ><P > See also <A HREF="function.png2wbmp.html" ><B CLASS="function" >png2wbmp()</B ></A >. </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.iptcparse.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.png2wbmp.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >iptcparse</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.image.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >png2wbmp</TD ></TR ></TABLE ></DIV ></BODY ></HTML >