driver()->handleInput( $this->color ? $this->color : $this->driver()->config()->blendingColor ); foreach ($image as $frame) { // create new canvas with blending color as background $modified = Cloner::cloneBlended( $frame->native(), background: $color ); // set new gd image $frame->setNative($modified); } return $image; } }