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)

In reply to Re^2: Merging Tiff Files by Shinama
in thread Merging Tiff Files by Shinama

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.