Koenig, Насчёт прозрачности не знаю. Должны быть.
http://rghost.net/private/7MnX ... 78104
$b = new Ki2('19.jpg');
echo '<div style="background-color: rgb(125, 100, 34);">'
. '<img src="data:image/png;base64,' . $b->base64() . '" alt="base64_image" style="background-color: rgb(90, 187, 200);" />'
. '</div>';
$a = new Ki2('15.jpg');
$b = new Ki2('03.jpg');
$b->roundAngle();
$a->reHeight(900)->roundAngle()->watermark($b, 20, 20);
echo '<div style="background-color: rgb(125, 100, 34);">'
. '<img src="data:image/png;base64,' . $a->base64() . '" alt="base64_image" style="background-color: rgb(90, 187, 200);" />'
. '</div>';