p4F Posted January 5, 2008 Report Share Posted January 5, 2008 sveiki visiem, es gribu sataisīt ko līdzīgu http://i7.one.lv/getImage?userId=4004000000121550975 tur apakšā labajā puse kur uzraksts www.one.lv nu vot varat pateikt funkcijas nosaukumu ? (PHP) Link to comment Share on other sites More sharing options...
martins256 Posted January 5, 2008 Report Share Posted January 5, 2008 imagecopyresampled un imagecopyresized Link to comment Share on other sites More sharing options...
dmitriy Posted January 5, 2008 Report Share Posted January 5, 2008 var ari ar vienkaršo tekstu, laikam imagettftext Link to comment Share on other sites More sharing options...
p4F Posted January 5, 2008 Author Report Share Posted January 5, 2008 varbūt kādam ir jau gatavs? ;[ Link to comment Share on other sites More sharing options...
Kristabs Posted January 5, 2008 Report Share Posted January 5, 2008 Protams. Daudziem! http://www.google.lv/search?hl=lv&q=ph...A1ana&meta= Link to comment Share on other sites More sharing options...
MaD HamsteR Posted January 5, 2008 Report Share Posted January 5, 2008 Man liekas ka to sauc par udenszimi "Watermark" - angliski. <?php header('Content-Type: image/jpeg'); function watermark($image, $mark, $opacity=10){ list($i_width, $i_height) = getimagesize($image); list($m_width, $m_height) = getimagesize($mark); $src_x = $i_width - $m_width; $src_y = $i_height - $m_height; $image = imagecreatefromjpeg($image); $mark = imagecreatefromgif($mark); imagecopymergegray($image, $mark, $src_x, $src_y, 0, 0, $m_width, $m_height, $opacity); return imagejpeg($image); } watermark('hamster.jpg', 'mark.gif', 50); ?> Link to comment Share on other sites More sharing options...
Recommended Posts