مبرمج و مطور للويب ، متخصص في لغة الـ PHP و نظام قواعد البيانات MySQL ، يعمل على منصات التطوير من شركة صن مايكروسيسمتز مثل J2EE و J2SE و ذو خبرة كبيرة في مجال المعايير القياسية لتصميم مواقع الويب <?php
// Load the original image
$image=imagecreatefrompng('sample_images/mysql_logo.png');
// Get image width
$iWidth=imagesx($image);
// Allow transparent images...
imagealphablending($image, true);
// Get the watermark image
$watermark=imagecreatefrompng('sample_images/sitepoint_watermark.png');
// Get the height and width
$wmWidth=imagesx($watermark);
$wmHeight=imagesy($watermark);
// Find the far right position
$xPos=$iWidth-$wmWidth;
// Copy the watermark to the top right of original image
imagecopy($image, $watermark, $xPos, 0, 0, 0, $wmWidth, $wmHeight);
// Send the HTTP content header
header ( 'Content-Type: image/png' );
// Display the final image
imagejpeg($image);
?>
<?php
// Load the original image
$image=imagecreatefrompng('sample_images/mysql_logo.png');
// Get a color and allocate to the image pallet
$color=imagecolorallocate($image,153,153,153);
// Add the text to the image
imagestring($image, 3, 0, 0, 'DevHall.com', $color);
// Send the HTTP content header
header ( 'Content-Type: image/png' );
// Display the final image
imagejpeg($image);
?>