PNG Transparency with PHP

前端 未结 5 1504
半阙折子戏
半阙折子戏 2020-11-28 05:28

Hey having some trouble trying to maintain transparency on a png when i create a thumbnail from it, anyone any experience with this? any help would be great, here\'s what i

5条回答
  •  没有蜡笔的小新
    2020-11-28 06:15

    Those functions access the underlying gdlib library, which is a fine toy, but not something that makes for nice results. If you have the option, use imagemagick instead. The downside is that there are currently no good php-bindings, so you need to access it over the shell, which you're usually not allowed on shared hosts.

提交回复
热议问题