in reply to Re: Merging Tiff Files
in thread Merging Tiff Files

Hello Martin,

thanks for the advice. I tried it but the effect is not exactly what I need: The sources are black/white tiffs. Because of the nature of blending one picture into another, both pictures black & white parts look kinda bad :(

Someone told me that with the LeadTools (funny name <_<) it would be possible to do some kind of mathematic: you (apparently) can tell the tools: take both pictures, and if a pixel is black in one of the pictures, make the target pixel in the output file black too. That's similiar to blending but it should save the black/white parts of the tiff.

Is something like that possible with Perl::Magick? I tried the XOR functions, the different combining functions etc but still I'm not able do to that.

Perhaps it's not possible to do what I would need but if there is a chance please tell me. And even if I fail I learned something about manipulating images with perl so it wasn't for nothing :D

Thanks for your help in advance,
Shinama
---------------------------------------------------
"You read too much and understand too little."
Moiraine Damodred (The Wheel of Time)

Replies are listed 'Best First'.
Re^3: Merging Tiff Files
by mscharrer (Hermit) on Jul 01, 2009 at 13:26 UTC
    Hi,

    sorry I don't have a in-deep knowledge of image magick. I just use it from time to time and then I just check the online manual. But it should be possible with it.

    The XOR function is not what you need, more like an OR function. Just check the manual again and google for it.

    Martin