<?php $insert = imagecreatefrompng('foto1.png'); imageSaveAlpha($insert, true); imagepng($insert); ?>
Mam małe doświadczenie w graficznej cześci php.
Mam coś takiego:
<?php $insert = imagecreatefrompng('foto1.png'); imagepng($insert); ?>
Gdy otworze obrazek foto1.png normalnie w przeglądarce czy jakimś programie graficznym to mam przezroczyste tło.
Natomiast jeżeli uruchomie powyższy skrypt to foto1.png ma tło (nie jest przezroczyste).