imagecolorallocatealpha

PHP 4 >= 4.3.2, PHP 5, PHP 7, PHP 8
imagecolorallocatealpha - Allocate a color for an image
Manual
Code Examples

Example #1 Convert typical alpha values for use with imagecolorallocatealpha

Result: int(127) int(0)
PHP Version:

Example #2 Example of using imagecolorallocatealpha

PHP Version:


Function imagecolorallocatealpha:

Image Processing and GD Functions

Most used PHP functions