Code: Select all
$code0 = "$convert $transparent -resize 500!x375! $temp_transparent";
$code1 = "$convert $glitter -virtual-pixel tile -set option:distort:viewport 500x375 -distort SRT 0 $temp_glitter";
$code2 = "$composite -compose ATop -geometry +0+0 $temp_transparent $original_image $temp_original";
$code3 = "$convert $temp_glitter null: $temp_glitter -compose DstOver -layers composite -loop 0 -layers Optimize $final_image";
$transparent is a small transparent png image.
$glitter is a small glitter image (.gif)
$original_image is a uploaded image
But in the final step, glitter is resized to image size and i just see the glitter only. There is no original image
It is not animating after uploading in imageshack.us
It was animating in localhost, but the original image is gone.