Black color in PNG background.

Issue #1 new
Former user created an issue

To add in ImageHelper:

        $transparentColor = imagecolorallocatealpha($srcFunc($path), 255, 255, 255, 127);

        $rotated = imagerotate($srcFunc($path), $data['rotate'], $transparentColor);
        unset($data['rotate']);

        imagealphablending($rotated, true);
        imagesavealpha($rotated, true);

Comments (0)

  1. Log in to comment