Jump to content

Issue with Merge Down


Recommended Posts

OK, I ran into an interesting issue with the Merge Down function.

Steps to reproduce:

1) Open a graphic

2) Load a new (smaller) graphic on a new layer

3) Duplicate that new layer and make the top layer invisible

4) In the middle layer, select the new graphic and press to fill it with black

5) Move selection 8 pixels down and 8 pixels to the right (using the arrows, and the move pixels tool)

6) Select the entire layer and Gaussian Blur (8). This should make a nice drop shadow.

7) Change the layer properties to 128 transparency

8) Make the top layer visible

BeforeMerge.jpg

9) Merge down the top layer into the shadow layer

AfterMerge.jpg

Notice how the graphic no longer looks the same!

BTW, Image Flatten works properly. I think when merging onto a layer, every pixel on that layer must be adjusted based on the trasnparency setting of that layer BEFORE the new pixels are merged onto that layer.

All I can say is, you better not remove this functionality from the final build just because it has an issue or two!!! icon_biggrin.gif

Link to comment
Share on other sites

BTW, when a layer has a blending mode other than Normal, the results of a Merge Down are similarly unpredictable.

All I can say is, Rick, you better not remove this functionality from the final build just because it has an issue or two!!! :D

Link to comment
Share on other sites

Yeah that happens because the shadow layer is set to 128 transparency.

"Merge Down" is not intended to produce an image that renders equivalent to the original. Even Photoshop doesn't do that. It's just not really mathematically possible.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

I read your first post and I believed that I had a solution. Instead of merging down the top layer onto the shadow layer, why not merge the shadow layer down to the background?

I tested it and it worked:

road-inset.jpg

I didn't have the same images as you did so I had to make do. Note: I feathered both the shadow and the inset image before flattening them and I set the shadow to 192 transparency instead of 128 because of the darkness of the pictures.

Edit: I didn't try different blending modes...

Link to comment
Share on other sites

That is correct. It works fine in that direction. However, I wanted to merge the inset picture with its shadow and leave the background graphic alone.

I think I will need to make my drop shadows differently, that is all. Maybe I'll use that drop shadow plugin. :D

Link to comment
Share on other sites

  • 1 month later...

Another solution is merging the shadow layer down onto a blank layer with 255 transparency. I've tried it and it works. Its basically the same as TinSoliders solution but you don't end up with unwanted stuff on your background or any other necessary layers.

If there was a "Merge Up" option, that would work fine, cuz then it would take image from the shadow layer with its lowered transparency and keep the layer transparency of the top layer while combining both.

IMO I think BoltBait's Plugin works nicely. It makes the layer transparency concept a little more intuitive. But, logically, the way the Layer options work now is correct.

 

Take responsibility for your own intelligence. 😉 -Rick Brewster

Link to comment
Share on other sites

barkbark00, that is a great idea.

Create a blank layer under the shadow layer and merge the shadow layer down to that layer before merging the picture layer down with its shadow.

That works perfectly. Nice job.

Of course, if I'd thought of that, we wouldn't have the Transparency Adjustment plugin... :D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...