CopyChannelsPalette operation class
This operation is intended to be used on palette images
public
execute(PaletteImage $img, array $channels): PaletteImage
Returns an image with only specified channels copied