![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 79 Pomógł: 0 Dołączył: 31.07.2003 Ostrzeżenie: (0%) ![]() ![]() |
Witam wszystkich,
mam taki kod: [php:1:0d97af1ad0] <?php $src = "4.jpg"; $img = imagecreatefromjpeg($src); // definicja kolorow $white = imagecolorallocate($img, 255,255,255); $blue = imagecolorallocate($img, 0,0,255); // tworze prostokat imagefilledrectangle($img, 0, 200, 700, 250, $blue); // tworze tekst, ktory bedzie na prostokacie imagettftext($img, 20, 0, 220, 235, $white, "Arialbd.ttf", "Jakis tekst"); imagejpeg($img); imagedestroy($im); ?> [/php:1:0d97af1ad0] Chcialbym zeby stworzony prostokat mial opacity np 30%. Czy wie ktos jak mozna to zrobic? |
|
|
![]() ![]() |
![]() |
Aktualny czas: 22.08.2025 - 22:06 |