Forum Moderators: coopster
1) What kind of burden will this put on the server?
2) Will this delay the loading of my webpage?
3) Is it worth it or should I just stick with the 4 gifs?
4) I have found some examples of using ImageMagick but someone could save me tons of time if they could help sum it up. Most of the examples are long and somewhat complicated. I only need to flip and flop. Here is a example I lifted off my web hosts message boards on how to resize. How could I change this to flip or flop?
*edit* Just found the button to edit post, now if I could just delete the whole thread.
[edited by: twist at 6:39 am (utc) on Jan. 17, 2004]
I found this script, now how do I add my image and rotate it, or can I?
<?
Header( "Content-type: image/gif" );
$height = 30;
$width = 30;
$im = ImageCreate( $width, $height );
$bck = ImageColorAllocate( $im, 10,110,100 );
$white = ImageColorAllocate( $im, 255, 255, 255 );
imageellipse( $im, 150, 150, 100, 200, $white );
ImagePNG( $im );
?>
I found this code, the guy had a typo. That was fun trying to figure that out.
Original was like this,
ImageString( $img, 3, 20, 10, "Text", $red): ImagePNG( $img );
Should have been,
ImageString( $img, 3, 20, 10, "Text", $red); ImagePNG( $img );
Anyway, I can now grab and display the image, just need to know how to rotate it. I wish I knew how to edit posts I would edit my first one :(
<?
header( "Content-type: image/gif" );
$img = ImageCreateFromGif("image.gif");
ImageString( $img, 3, 20, 10, "Text", $red);
ImagePNG( $img );
?>
Im using ImagePNG because it give me a error on ImageGIF, I read they removed it for legal reasons. My page still displays a gif though, will this cause any problems?