Vincie Posted July 8 Posted July 8 Shortly: it could be nice to have ability to put text on image together with background color (selected in Colors tool). Where it can be useful: to make memes, to put labels on image, to put any text, which you don't want to intersect with picture. Just "shadow" is not enough, it should be solid BG, which easy distinct from underlying pixels. Quote
Tactilis Posted July 8 Posted July 8 This is simple to accomplish with layers: Top layer: Text Middle layer: Text background colour Bottom layer: Image Doing this allows you to make the coloured text background area any size or shape that you want. Alternatively you could use @BoltBait's Meme Maker plugin. Although it doesn't create a solid coloured background, it does provide letter outlining and an option for shadowing, which together makes the text stand out from the underlying pixels. Quote
BoltBait Posted July 8 Posted July 8 I have created a plugin for you. Check it out here: 2 Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game
toe_head2001 Posted July 8 Posted July 8 1 hour ago, BoltBait said: I'm just going to leave ... You're missing using statements on most of those disposable objects. Quote My Gallery | My Plugin Pack Layman's Guide to CodeLab
Rick Brewster Posted July 9 Posted July 9 5 hours ago, toe_head2001 said: You're missing using statements on most of those disposable objects. My official recommendation has been "don't worry about it". I am very particular about this in my own coding, but I have designed the Direct2D (et. al.) wrappers with not-using-using in mind. You have to be very careful when to employ using so that you don't dispose something already owned elsewhere, or you have to know when to use CreateRef() to create your own lifetime/ownership management proxy, etc. etc. So instead of writing up a big wad of documentation on all of this, which will make things extra complicated for most plugin developers and with almost no benefit, I just say "don't worry unless you see performance being a huge concern, and you can prove it's due to excess garbage collection." GPU plugins can run slow if you have them doing complicated stuff, but it won't be because of the garbage collector. After OnCreateOutput() or OnDraw() is called, the tiles are rendered without your involvement, and any slowness there won't be GC related. The number of Direct2D (et. al.) objects created by a plugin is actually very very small. If you're implementing a Direct2DControl in a custom plugin UI then your OnRender() should definitely employ using. Because that method (hopefully) gets called 60 times per second, so the garbage really piles up. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.