Popular Post BoltBait Posted August 16, 2016 Popular Post Share Posted August 16, 2016 BoltBait's Meme Maker Plugin v1.3 If you are using Paint.NET v3.5.11, Download here: MemeMaker13.zip (v1.3) Unzip this to your desktop and run the Install_MemeMaker.BAT file to install. If you are using paint.net v4.0.6+, Download here: BoltBait's Plugin Pack for paint.net v4.0.6+ (v1.3 with Shadow option) Once installed, you'll find this under the Effects > Photo > Meme Maker menu. Requirements: - Paint.NET 3.5.11 or higher - The font "IMPACT" must be installed on your system. It probably is as it comes standard with Windows. Versions: -1.3 Added shadow option -1.2 Fixed a bug when centering in a selection -1.1 Added separate size for each text, Added ability to use Primary/Secondary colors -1.0 Initial Release CodeLab source for v1.2 Spoiler // Name: Meme Maker // Submenu: Photo // Author: BoltBait // Title: BoltBait's Meme Maker v1.2 // Version: 1.2 // Desc: Create your own memes // Keywords: text|meme // URL: http://BoltBait.com/pdn #region UICode string Amount1 = ""; // [1,32767] Top Text int Amount2 = 36; // [10,100] Size string Amount3 = ""; // [1,32767] Bottom Text int Amount4 = 36; // [10,100] Size bool Amount5 = true; // [0,1] ALL CAPS bool Amount6 = true; // [0,1] Centered bool Amount7 = false; // [0,1] Use Primary/Secondary Colors bool Amount8 = false; // [0,1] Swap Colors #endregion void Render(Surface dst, Surface src, Rectangle rect) { Rectangle selection = EnvironmentParameters.GetSelection(src.Bounds).GetBoundsInt(); dst.CopySurface(src,rect.Location,rect); if (IsCancelRequested) return; ColorBgra PrimaryColor = (ColorBgra)EnvironmentParameters.PrimaryColor; ColorBgra SecondaryColor = (ColorBgra)EnvironmentParameters.SecondaryColor; int tfs = Amount2; float tos = tfs / 10f; int bfs = Amount4; float bos = bfs / 10f; SolidBrush Brush1 = new SolidBrush(Color.Black); SolidBrush Brush2 = new SolidBrush(Color.White); if (Amount8) { Brush1 = new SolidBrush(Color.White); Brush2 = new SolidBrush(Color.Black); } if (Amount7) { if (Amount8) { Brush1 = new SolidBrush(SecondaryColor); Brush2 = new SolidBrush(PrimaryColor); } else { Brush1 = new SolidBrush(PrimaryColor); Brush2 = new SolidBrush(SecondaryColor); } } Graphics g = new RenderArgs(dst).Graphics; g.Clip = new Region(rect); g.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias; Font SelectedFont = new Font("Impact", bfs); string TopText = Amount1; if (Amount5) TopText = TopText.ToUpper(); string BottomText = Amount3; if (Amount5) BottomText = BottomText.ToUpper(); SizeF stringSize = new SizeF(); stringSize = g.MeasureString(BottomText, SelectedFont); int TopX = selection.Left; int TopY = selection.Top; int BottomY = (int)(selection.Bottom - stringSize.Height); StringFormat sf = new StringFormat(); if (Amount6) { sf.Alignment = StringAlignment.Center; TopX = (int)(selection.Width / 2 + selection.Left); } System.Drawing.Drawing2D.GraphicsPath p = new System.Drawing.Drawing2D.GraphicsPath(); Pen tpn = new Pen(Brush1, tos); tpn.LineJoin = System.Drawing.Drawing2D.LineJoin.Round; Pen bpn = new Pen(Brush1, bos); bpn.LineJoin = System.Drawing.Drawing2D.LineJoin.Round; // Top Text p.AddString(TopText,new FontFamily("Impact"),(int) System.Drawing.FontStyle.Regular,g.DpiY * tfs / 72,new System.Drawing.Point(TopX, TopY),sf); g.DrawPath(tpn, p); g.FillPath(Brush2, p); // Bottom Text p.AddString(BottomText,new FontFamily("Impact"),(int) System.Drawing.FontStyle.Regular,g.DpiY * bfs / 72,new System.Drawing.Point(TopX, BottomY),sf); g.DrawPath(bpn, p); g.FillPath(Brush2, p); } 14 Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
Eli Posted August 16, 2016 Share Posted August 16, 2016 (edited) Cool! and thanks BoltBait! A shadow option could make the text stand out even more. Edited August 16, 2016 by Eli Quote Link to comment Share on other sites More sharing options...
IRON67 Posted August 16, 2016 Share Posted August 16, 2016 44 minutes ago, Eli said: A shadow option could make the text stand out even more. Put it in a separate layer and use Object -> Object Shadow oder Object -> Drop Shadow. 1 Quote Link to comment Share on other sites More sharing options...
Eli Posted August 16, 2016 Share Posted August 16, 2016 3 minutes ago, IRON67 said: Put it in a separate layer and use Object -> Object Shadow oder Object -> Drop Shadow. That is what I usually do. Boltbait, I know you like your interfaces as clean as possible but a color option would be nice too. Perhaps using the selected (primary and secondary) colors. I know how to colorize black and white text but for some users could be a challange. Quote Link to comment Share on other sites More sharing options...
BoltBait Posted August 16, 2016 Author Share Posted August 16, 2016 6 hours ago, Eli said: A shadow option could make the text stand out even more. Put your text on it's own layer and run Effects > Object > Object Shadow Adding that code into this plugin would be... complicated. 5 hours ago, Eli said: I know you like your interfaces as clean as possible but a color option would be nice too. You know me so well... OK. Download v1.1 in the first post. 1 Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
lynxster4 Posted August 16, 2016 Share Posted August 16, 2016 (edited) Love it BoltBait!! Really simplifies things. How come my emoticons look different from everyone else's?? Okay...some are different. Now they're not....? Edited July 27, 2017 by lynxster4 re-hosted image 3 Quote My Art Gallery | My Shape Packs | ShapeMaker Mini Tut | Air Bubble Stained Glass Chrome Text with Reflections | Porcelain Text w/ Variegated Coloring | Realistic Knit PatternOpalescent Stained Glass | Frosted Snowman Cookie | Leather Texture | Plastic Text | Silk Embroidery Visit my Personal Website "Never, ever lose your sense of humor - you'll live longer" Link to comment Share on other sites More sharing options...
nitenurse79 Posted August 16, 2016 Share Posted August 16, 2016 Much fun Thanks BoltBait Quote Link to comment Share on other sites More sharing options...
Pixey Posted August 16, 2016 Share Posted August 16, 2016 Ooooo - what a FUN Plugin - thank you so much @BB . These are of a kitty that used to visit us when we lived in Switzerland. Quote How I made Jennifer & Halle in Paint.net My Gallery | My Deviant Art "Rescuing one animal may not change the world, but for that animal their world is changed forever!" anon. Link to comment Share on other sites More sharing options...
Eli Posted August 16, 2016 Share Posted August 16, 2016 Boltbait, centered justification is not working when using a selection : Spoiler Quote Link to comment Share on other sites More sharing options...
BoltBait Posted August 16, 2016 Author Share Posted August 16, 2016 1 hour ago, Eli said: Boltbait, centered justification is not working when using a selection Thanks for the bug report. It is fixed now. Download v1.2 in the first post. ...and, now you know why I never put new plugins right into my plugin pack. 1 Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted August 17, 2016 Share Posted August 17, 2016 ^ such wisdom! Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
Maximilian Posted August 17, 2016 Share Posted August 17, 2016 I can use this in so many ways! 3 Quote Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted August 17, 2016 Share Posted August 17, 2016 +1 if there was a way I could give you two votes I would have 1 Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
Maximilian Posted August 17, 2016 Share Posted August 17, 2016 Oh, thank you Ego, you're too kind! Quote Link to comment Share on other sites More sharing options...
flaner Posted August 18, 2016 Share Posted August 18, 2016 (edited) no scrolling Edited August 18, 2016 by flaner Quote Link to comment Share on other sites More sharing options...
Seerose Posted August 18, 2016 Share Posted August 18, 2016 Sir BB! Thank you for effort and this is very interesting plugin. Quote Live as if you were to die tomorrow. Learn as if you were to live forever. Gandhi Link to comment Share on other sites More sharing options...
BoltBait Posted August 18, 2016 Author Share Posted August 18, 2016 7 hours ago, flaner said: no scrolling True. But, if you put your cursor in their, you can move around with your arrow keys. BTW, this is not something that I have control over. Adding a scrollbar is something Rick would have to do and it would apply to all effects that use a text control. Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
BoltBait Posted August 21, 2016 Author Share Posted August 21, 2016 On 8/16/2016 at 2:31 AM, Eli said: A shadow option could make the text stand out even more. I just added a Shadow option. It really makes the text pop off the screen. Enjoy. 1 1 Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
Seerose Posted August 21, 2016 Share Posted August 21, 2016 3 Quote Live as if you were to die tomorrow. Learn as if you were to live forever. Gandhi Link to comment Share on other sites More sharing options...
Maximilian Posted August 22, 2016 Share Posted August 22, 2016 2 Quote Link to comment Share on other sites More sharing options...
ingwer Posted April 24, 2017 Share Posted April 24, 2017 Thank you BoltBait for the Meme Maker! Unfortunately, I'm not good at writing a clever meme, but I nevertheless like your plugin. Bolt Bait's Meme Maker on YT (German/English) 4 Quote Link to comment Share on other sites More sharing options...
Seerose Posted May 15, 2017 Share Posted May 15, 2017 @ingwer! Thank you so much for the time to host these. Well done. Quote Live as if you were to die tomorrow. Learn as if you were to live forever. Gandhi Link to comment Share on other sites More sharing options...
ingwer Posted May 16, 2017 Share Posted May 16, 2017 Thanks again to you, toe_head, red ochre, Remake and Seerose! 1 Quote Link to comment Share on other sites More sharing options...
Vagabondi Posted October 16, 2019 Share Posted October 16, 2019 (edited) Sorry, couldn't help... Edited October 16, 2019 by Vagabondi 1 Quote my gallery is here Link to comment Share on other sites More sharing options...
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.