Hi folks,

I'm currently trying to composite (add) a series of png images (exported
from a movie) into a single image, the final image being a virtual "long
exposure".

The problem is that I need to scale the RGB values linearly toward
black, so that a composited result will have appropriately-scaled
levels, such as after this:

for $seq (0..$#$image) {
  $target->Composite(image => $image->[$seq], compose => 'plus');
}

For the first try, I used $image->Modulate(brightness => 100*(1/$n));
where $n is the number of images that I'm trying to composite into one.
This seemed not to reduce the levels equally per channel, as
Modulate doesn't seem to linearly scale RGB values.  The resulting
images appear oversaturated.

I then discovered +levels in the command line documentation.  This
option seems to be what I need.  However, I cannot find a way to map the
+levels command line option into perl.  Am I missing something, or is
this simply not available?

Thanks

-Troy
_______________________________________________
Magick-developers mailing list
Magick-developers@imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick-developers

Reply via email to