initial commit
This commit is contained in:
11
mg2.php
Normal file
11
mg2.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
$im1=imageCreateFromGIF("i/sh/".$_GET['i']);
|
||||
$colorcount = imagecolorstotal($im1);
|
||||
$size_x=imageSX($im1);
|
||||
$size_y=imageSY($im1);
|
||||
imageColorSet($im1, 1, 198, 64, 1);
|
||||
$transparentcolor = imagecolortransparent($im1);
|
||||
imagefilledrectangle($im1,2,($size_y-$size_y*$_GET['p']/100),4,$size_y,1);
|
||||
Header("Content-type: image/gif");
|
||||
imageGIF($im1);
|
||||
?>
|
||||
Reference in New Issue
Block a user