Home > PHP > Function > GD > imagepalettecopy()

imagepalettecopy()

imagepalettecopy - Copy the palette from one image to another

Syntax

imagepalettecopy (resource $destination, resource $source)

Arguments

  • destination - The destination image resource.
  • source - The source image resource.

Description

imagepalettecopy() copies the palette from the source image to the destination image.

Version

PHP 4.0.1, 5

Return value

No value is returned.