Page 1 of 1

Glitter over image

Posted: 2011-10-02T06:49:41-07:00
by agriz

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";
I tried this.
$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

Image

It is not animating after uploading in imageshack.us
It was animating in localhost, but the original image is gone.

Re: Glitter over image

Posted: 2011-11-08T21:24:35-07:00
by anthony
Upload the time to a web service that does not modify the image like imageshack does. I suggest you use dropbox putting the image in the 'public' sub-folder.


I am not quite following your steps without access to the images.