Posted by Krustov on 04/16/07 10:48
<comp.lang.php>
<mareeus@gmail.com>
<16 Apr 2007 02:35:06 -0700>
<1176716106.857343.76330@w1g2000hsg.googlegroups.com>
> I'm not asking for anyone on this forum to write my code. I hope to
> find someone explain me a little about ImagaMagick or Gd and help me
> understand better what i have to do. I have never worked with
> ImagaMagick. Telling me that the code can be written in 2 hours won't
> help me too much because as you can guess i wouldn't have posted any
> question here if i could write the script.
>
Look at it as a logical step by step process .
(1) create a 800x600 blank image using gd or im
(2) grab the html code from the website
(3) write script to scan html code for stuff like background colour
(4) fill 800x600 with found background colour (or white if none found)
(5) write script to check for <img> etc in the html code
(6) paste images onto 800x600 image
(7) write text onto 800x600 image
(8) shrink 800x600 image to thumbnail size
Even if you cant actually do it - you will learn loads from trying .
[Back to original message]
|