imagepalettecopy

Supported Versions: PHP 4 >= 4.0.1, PHP 5, PHP 7, PHP 8
Copy the palette from one image to another
<?php imagepalettecopy(GdImage $dst, GdImage $src): void