Znalazłem pewną klasę - PHPWatermark, której zadaniem jest oczywiście nakładanie loga wodnego.
http://scripts.ringsworld.com/image-handli...rk.inc.php.html
<?php // Load function require("./phpWatermark.inc.php"); // Instantiate phpWatermark // The only parameter currently required is the name // of the image, which should get marked $wm = new watermark("38834344d5faf8b6671b0feeb9645bec.jpg"); // Optionally specify the position of // the watermark on the image $wm->setPosition("TR"); // Add a watermark containing the string // "phpWatermark" to the image specified above $wm->addWatermark("wat.png", "IMAGE"); // Fetch the marked image $im = $wm->getMarkedImage(); // Output imagepng($im); ?>
Jednak tworzy się problem przy przeźroczystym tle, mianowicie robi się czarne zaniast przeźroczystego. Jak mogę to naprawić?