Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- ##################################################
- # 1 BLACK PIXEL APPEARS IN AT 0,0 ON ALL IMAGES...
- ##################################################
- $gd = imagecreatetruecolor($ex3[$x], $ey3[$x]);
- imagefilledrectangle($gd, 0, 0, $ex3[$x], $ey3[$x], imagecolorallocate($gd, 255, 255, 255));
- $bk = imagecolorallocate($gd, 0, 0, 0);//BLACK
- $wh = imagecolorallocate($gd, 255, 255, 255);//WHITE
- imagesetpixel($gd, $exx[$i], $eyy[$i], $bk);//DRAW
- imagesetpixel($gd, 0, 0, $wh);//FIX FOR BLACK PIXEL (COLOR WHITE)
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement