I tried this example code you posted and I couldn't get it working since it seems like the compose mode "Blend" is nonexistant with the current release of Perl/ImageMagick. I tried using "Dissolve" with somewhat of the desired effect, but the opacity seems to be about 75 or so even if I set it to 1 or 100....