Write on Couples gif imagesWrite on mug gif images

write your names on dancing lovers mug GIF images


[insert_php]
include ‘text.php’;
include ‘ads1.php’;
include ‘giffile.php’;

$image = imagecreatefrompng(‘template-gif/dance-mug-oiu-01.png’);
imagealphablending($image, false);
imagesavealpha($image, true);
$facebook_white = imagecolorallocate($image, 57,57,57); // Create blue color
imagealphablending($image, true); //bring back alpha blending for transperent font
imagettftext($image, 22, 0, 25,231, $facebook_white , $font, $tx1);
imagettftext($image, 22, 0, 195,240, $facebook_white , $font, $tx2);
ob_start();
imagegif($image);
$frames[]=ob_get_contents();
$framed[]=25; // Delay in the animation.
ob_end_clean();

$image = imagecreatefrompng(‘template-gif/dance-mug-oiu-02.png’);
imagealphablending($image, false);
imagesavealpha($image, true);
$facebook_white = imagecolorallocate($image, 57,57,57); // Create blue color
imagealphablending($image, true); //bring back alpha blending for transperent font
imagettftext($image, 22, 0, 25,240, $facebook_white , $font, $tx1);
imagettftext($image, 22, 0, 195,240, $facebook_white , $font, $tx2);
ob_start();
imagegif($image);
$frames[]=ob_get_contents();
$framed[]=25; // Delay in the animation.
ob_end_clean();

$image = imagecreatefrompng(‘template-gif/dance-mug-oiu-03.png’);
imagealphablending($image, false);
imagesavealpha($image, true);
$facebook_white = imagecolorallocate($image, 57,57,57); // Create blue color
imagealphablending($image, true); //bring back alpha blending for transperent font
imagettftext($image, 22, 0, 25,231, $facebook_white , $font, $tx1);
imagettftext($image, 22, 0, 195,250, $facebook_white , $font, $tx2);
ob_start();
imagegif($image);
$frames[]=ob_get_contents();
$framed[]=25; // Delay in the animation.
ob_end_clean();

$gif = new GIFEncoder($frames,$framed,0,2,0,0,0,’bin’);
$fp = fopen( “giftmp/$fn.gif”, ‘w’ );
fwrite($fp, $gif->GetAnimation());
fclose($fp);
imagedestroy($image);
[/insert_php]


insert php] - write your names on dancing lovers mug GIF images

[insert_php]
include ‘2name.php’ ;
include ‘gifvip.php’ ;
[/insert_php]

BB-Code code:

HTML code for blog:

Link for Facebook Twitter:

Tags
Back to top button
Close