| Jean Pierre Daviau 2006-03-25, 7:57 am |
| Hi to all the clear minds,
What if I want to have 2 images on the same page without having one of them
being in ascii?
.......
<body>
<p><IMG SRC="deuxpointdeux.jpg" WIDTH="360" HEIGHT="247" BORDER="0" ALT="|"
title="Montréal
(Pointe aux Trembles)
phone:514-645-4122">
</p>
<?php
//attempt to open image, suppress error messages
$image = imagecreatefromjpeg("deuxpointdeux.jpg");
//adjust gamma, display inputimage, outputimage
imagegammacorrect($image, 2.2, 1.571);
//send image
header("Content-type: image/jpeg");
ImageJpeg($image, null, 100);
ImageDestroy($image);
........
Thanks for your attention.
Jean Pierre Daviau
--
Easyphp1.8
Apache1.3.24
DEVC++, borland 5.5
windows Xp
asus p4 s533/333/133
Intel(R) Celeron (R) CPU 2.00 GHz
http://www.jeanpierredaviau.com
|