Jump to content

BoltBaits Bevel Selection v6.0 in Paint.Net 5.0.6 making top right pixel transparent!


Go to solution Solved by Rick Brewster,

Recommended Posts

I have been using BoltBaits Bevel Selection for a while, I used the previous version and had to adjust when v6.0 came out due to some changes in both the plugin and Paint.net 5.0.3 and 5.0.4. I just upgraded Paint.Net to version 5.0.6 and now BoltBaits Bevel Selection is automatically turning the right top pixel in a selection to transparent. This is not what is desired.

First I select a rectangle and then I flood fill it with a color and then use "Effects -> Selection -> Bevel Selection". Normally the entire rectangle is beveled, but now I am noticing that the top right pixel in the rectangle is turned transparent.

This is what I am seeing when I do the above:

image.thumb.png.19b0cc5344a919053b451ae4cfa5f9a4.png

To fix this I have to make sure I have reselected the rectangle, then flood fill the rectangle starting with the transparent pixel (if you don't and just flood fill anywhere when you re apply the bevel selection it will again make that right pixel transparent), once the rectangle has been completely filled in with the solid color you can then apply the bevel and get the desired results like so:

image.thumb.png.d17a8f81039c992743aa7068addc3552.png

 

This is an extra time consuming step (when you have 150+ files each with 3 images in them) that needs to be fixed. In Paint.net prior to 5.0.6 with this plugin v6.0 it worked just fine, I could select a rectangle, flood fill it, from the menu first time select "Effects -> Selection -> Bevel Selection" - the next rectangle I would just use Control + F to quickly bevel each rectangle). Now I have to do more steps to do what I used to be able to do in just a few key strokes.

Thank you in advance in correcting either the plugin or Paint.net and fixing this unwanted bug.

Don

Edited by zovs66
Link to comment
Share on other sites

I see you have the "Keep original alpha" check box selected.

 

This should maintain the original alpha of all selected pixels. If one pixel is turning transparent, that's a problem.

 

I haven't made changes to that plugin in a long time.

 

@Rick Brewster, you have access to the source code to my plugin on GitHub.  I'll PM you the link.

Link to comment
Share on other sites

@zovs66, I can't figure out how to reproduce this. I need you to supply an image for me to try this out on -- not just a screenshot where you've zoomed into it.

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

Wow now it seems like the Bevel selection does not behave like it used to. Now when I bevel a selection I get a full lighter color all around the edges, instead of having the light coming from one direction and the opposite direction being darker. The darker no longer functions or works.

image.thumb.png.b1a31a588723e049e5df0ad951198deb.png

Before when I did something like this (just last week as you can see in my screenshots) the right side would be darker. Now that no longer works.

If I adjust it like so:

image.thumb.png.ee35aeb4ed2d76f27e77583bf3e26eb1.png

As you can see the Dark Color just does not work anymore.

 

Previously (pre Paint.Net v5.0.2 (or even 5.0.1) worked fine, in fact it worked better because it automatically "knew" to make the light and dark colors a lighter and darker color of the base color chosen. I was able to whip through 500+ images.

Then in Paint.Net v5.0.3 (I think) this no longer worked, the bevel was more "feathered" but instead it defaulted to the white and black outlines, I had a work around by setting the light color to a light grey (215,215,215 or 196,196,196, etc.) and it would blend good enough with the base color.

But now in 5.0.6 none of this is working. Instead you get a "white (255,255,255) outline around the entire selected rectangle and the Dark Color just does not work anymore.

I'd love for this to be fixed and working again. Otherwise I need to find another tool and relearn how to use that tool, which would suck big time because I invested so much time into learning Paint.Net, and the Bevel (selection or object) were working perfectly for what I needed but now they are not.

 

 

Link to comment
Share on other sites

This is another tool (and its UI is a pita, but I am used to Paint.Net and its shortcuts) but the bevel is what I am trying to achieve. 

 

I used to be able to do this in one click with 5.0.2 (and I think the previous plugin version) but I think when either I upgraded to 5.0.3 or I upgraded the plugin to v6, the bevel changed to white and black despite the base color.

image.png.94428059b16196b7449b1ae7513762e8.png

This bevel from this tool is close but I now have to fiddle around with it and get it to do what I want it to exactly do, but as you can see the light and dark colors are close and not pure white and pure black which is what Paint.Net does (or used to do).

Really I just want a bevel that looks at the base color you pick for a rectangle and then makes a lighter and darker gradient based on the side of the bevel you want to create.

Now Paint.net does not work with the plugin bevel (selection or object bevel).

Something broke.

Link to comment
Share on other sites

17 hours ago, Rick Brewster said:

@zovs66, I can't figure out how to reproduce this. I need you to supply an image for me to try this out on -- not just a screenshot where you've zoomed into it.

 

Please respond to this so that I can properly investigate this. I need images, not screenshots or zoomed-in images, so that I have something to work with.

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

Sorry was out on a long weekend (our anniversary).

 

Here is a file that demonstrates this. Use the layer "counter", I created three rectangles (red, green and blue) and if you use the Selection -> Bevel and use 7 and 0.30.

 

Please note I select the inner rectangle like so:

image.thumb.png.d2abe10eb45306a9f0f53af7f1c54cc4.png

 

Now I feel like a complete idiot, its almost working!

I still am seeing a transparent pixel sometimes in the upper right corner?

 

image.thumb.png.d5d22ae1440807ed9384f0db473baffb.png
I am a little confused because I have seen this also make like the bottom row of pixels transparent and also seen it behave as above. 

 

image.thumb.png.659f0328ee1047cc7f81bc403eae76a7.png

Here is the zip file:

On 6/2/2023 at 11:41 AM, Rick Brewster said:

 

Please respond to this so that I can properly investigate this. I need images, not screenshots or zoomed-in images, so that I have something to work with.




SelectionBevelFailure.zip

Link to comment
Share on other sites

Once I changed 'Rendering Device' to CPU (like @zovs66 is doing ), I was able to reproduce the issue.

 

Not sure if it makes a difference, but @zovs66's desktop and my work laptop are both using Intel 8th gen.

 

image.png

When I get home tonight, I can check a few more systems.

(September 25th, 2023)  Sorry about any broken images in my posts. I am aware of the issue.

bp-sig.png
My Gallery  |  My Plugin Pack

Layman's Guide to CodeLab

Link to comment
Share on other sites

Nope, it's not the plugin. I've got a good idea of what's going on now, it's a bug in my code.

 

Short-term workaround is to not use the CPU for rendering. Make sure it's set to the GPU. I'll have a proper fix for the next update.

  • Like 1

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

  • 2 weeks later...
On 6/12/2023 at 11:34 AM, Rick Brewster said:

Yeah I'll have a fix in 5.0.7 which should be out fairly soon :)

 

Rick, 

I just updated to 5.0.7 and I can say everything is working perfectly now with this issue!

Thank you so much for your time effort and patience in understanding the problem and then solving it!

 

Now to update 800+ images!  :D

Best regards!

Don

  • Like 1
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...