$transparent = imagecolorallocatealpha($image, 0, 0, 0, 127); //filling created image with transparent color imagefill($image, 0, 0, $transparent); - See more at: http://webcodingeasy.com/PHP/Create-blank-transparent-PNG-images-using-PHP-GD-functions#sthash.N0NejN8d.dpuf