John Veteran Posted March 22, 2003 Veteran Share Posted March 22, 2003 i have an asp page that takes input from a text file, and also an image on the web server, and returns results similar to this: <table><tr><td><img src="http://(mysite)/image.jpg"></td><td>text from file</td></tr></table> what i need to do is to put this into a signature on neowin. anyone have any ideas? Link to comment Share on other sites More sharing options...
0 [idkfa] Posted March 22, 2003 Share Posted March 22, 2003 there's no chance, include everything in an image. Link to comment Share on other sites More sharing options...
0 John Veteran Posted March 22, 2003 Author Veteran Share Posted March 22, 2003 ok, how would i turn those results into an image? Link to comment Share on other sites More sharing options...
0 [idkfa] Posted March 22, 2003 Share Posted March 22, 2003 sorry, i've no idea of ASP, but i would know it in PHP ;) Link to comment Share on other sites More sharing options...
0 John Veteran Posted March 22, 2003 Author Veteran Share Posted March 22, 2003 can you give me an example of php? maybe i can get an idea of how to do it by looking at php code, even though i know very little php. Link to comment Share on other sites More sharing options...
0 [idkfa] Posted March 22, 2003 Share Posted March 22, 2003 <?php $smallimage = ImageCreateFromJPEG("yourimage.jpg"); $image = ImageCreateTrueColor($width, $height); ImageCopy($smallimage, $image, 0, 0, 0, 0, $small_width, $small_height, $small_width, $small_height); ImageFTText($image, 11, 0, $small_width+10, 10, 0, "font", implode("", file("yourtext.txt"))); ImageJPEG($image); ?> something like that. didn't check whether it works, just quickly written down about how it would work ;) lots of documentation is here: http://www.php.net/manual/en/ref.image.php Link to comment Share on other sites More sharing options...
Question
John Veteran
i have an asp page that takes input from a text file, and also an image on the web server, and returns results similar to this:
<table><tr><td><img src="http://(mysite)/image.jpg"></td><td>text from file</td></tr></table>
what i need to do is to put this into a signature on neowin. anyone have any ideas?
Link to comment
Share on other sites
5 answers to this question
Recommended Posts