Viewing 1 replies (of 1 total)
  • Thread Starter ZeroGravity

    (@zerogravity)

    Apparently imagecreatefrompng doesn’t work with a PNG image that has transparency. The following functions need to be added to preserve the transparency.

    imageAlphaBlending($src, true);
    imageSaveAlpha($src, true);

    I haven’t tested it yet but this is what the Google searches reveal.

Viewing 1 replies (of 1 total)
  • The topic ‘Transparent PNG has black background’ is closed to new replies.