<div dir="ltr"><div class="gmail_default" style="font-size:small">Trying to learn how to use layers in GIMP right now -- probably will take all day.</div><div class="gmail_default" style="font-size:small">Simple one line change in cinelerra/overlayframe.h around line 72:<br></div><div class="gmail_default" style="font-size:small">     OLD:    (Dc > ZERO ? (Sc * mx) / Dc : ZERO))</div><div class="gmail_default" style="font-size:small">     NEW:   (Sc > ZERO ? (Dc * mx) / Sc : ONE))</div><div class="gmail_default" style="font-size:small">This new line is what I have been experimenting with.  Switching from ZERO to ONE shows white instead of black.  Switching order of Dc and Sc changes application order of Source over Destination.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 9, 2022 at 5:14 PM Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com">randrianasulu@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">чт, 10 нояб. 2022 г., 03:04 Phyllis Smith <<a href="mailto:phylsmith2017@gmail.com" target="_blank">phylsmith2017@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">A small mod can be applied to improve the Divide overlay <b>as long as no one objects</b>. (most like Gimp). Old projects can use a previous AppImage to get the previous results. The mod seems to fix the minor imperfections you can see in the following screenshots using the Overlay plugin.<br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">     hhttps://<a href="http://cinelerra-gg.org/download/testing/divide_flowers.png" rel="noreferrer" target="_blank">cinelerra-gg.org/download/testing/divide_flowers.png</a>   (Top first layer order)</div><div class="gmail_default" style="font-size:small"></div><div class="gmail_default" style="font-size:small">In both Cinelerra 7 and Current CinGG, look at imperfection on upper right hand corner about 1/3 of the way down where there are 2 small red rectangles. And there are small dark blue squares scattered around in the light blue areas.  These look wrong to me.<br></div></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">can those be amplified compression artefacts? If you load same images into gimp 2.10.xx do you see them?</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">And what exactly you suggest to change in code? :)</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small"></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">     <a href="https://cinelerra-gg.org/download/testing/divide_waterfall.png" rel="noreferrer" target="_blank">https://cinelerra-gg.org/download/testing/divide_waterfall.png</a>   (Bottom first layer order)</div><div class="gmail_default" style="font-size:small">Entire left hand side just looks ugly for both Cinelerra 7 and current CinGG.  I do not think anyone would want this output.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">   <a href="https://cinelerra-gg.org/download/testing/divide_squares.png" rel="noreferrer" target="_blank">https://cinelerra-gg.org/download/testing/divide_squares.png</a>    (Top first layer order)</div><div class="gmail_default" style="font-size:small">This test is interesting because all 3 look the same with no obvious imperfections.<br></div><br><div class="gmail_default" style="font-size:small"><div class="gmail_default" style="font-size:small"><br><br></div></div></div><br><div class="gmail_quote"><br></div></div>
</blockquote></div></div></div>
</blockquote></div>