|
Posted by Nick Wedd on 01/30/07 15:13
In message <45bf29dc$0$324$e4fe514c@news.xs4all.nl>, Erwin Moller
<since_humans_read_this_I_am_spammed_too_much@spamyourself.com> writes
>Excactly as you described it it could be done.
>Just search for image (in the functionsearch) at www.php.net and you'll find
>plenty examples.
>http://nl2.php.net/manual/en/ref.image.php
>Many imagefunctions have the possibility to safe the image to a path or
>serve them directly to the browser.
>If you run into problems, just come back here.
I find that I can do all the image-processing stuff, e.g.
<?php
$im = imagecreatefrompng("i/sea.png");
// many image-processing commands
imagepng($im, "foo.png");
?>
<a href='foo.png'><img src='foo.png' width=80 height=60></a>
What I still don't know is how to use a temporary file, that will go
away when the user leaves the page, to store either the image or
header+image.
Nick
--
Nick Wedd nick@maproom.co.uk
Navigation:
[Reply to this message]
|