Skip to content

Instantly share code, notes, and snippets.

@ozelfatih
Created Jan 20, 2017
Embed
What would you like to do?
<?php
$beyaz = ImageColorAllocate($image, 255, 255, 255);
$siyah = ImageColorAllocate($image, 0, 0, 0);
$cizgiRengi = ImageColorAllocate($image, rand(0, 255), rand(0, 255), rand(0, 255));
$cember1 = imagecolorallocatealpha($image, 0, 220, 100, 75);
$cember2 = imagecolorallocatealpha($image, 20, 200, 200, 75);
$cember3 = imagecolorallocatealpha($image, 250, 100, 250, 0);
imagefilledellipse($image, 17, 12, 21, 23, $cember1);
imagefilledellipse($image, 34, 12, 21, 23, $cember2);
imagefilledellipse($image, 53, 12, 20, 23, $cember3);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment