Ver original$red = ImageColorAllocate($image, 255, 0,0); $blue = ImageColorAllocate($image, 0, 0, 255);