WordPress.org

Support

Support » Plugins and Hacks » Transparent PNG has black background

Transparent PNG has black background

Viewing 1 replies (of 1 total)
  • 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.