Pixey Posted February 11, 2018 Posted February 11, 2018 Ahhhhh - merci beaucoup @MadJik 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.
MadJik Posted February 11, 2018 Author Posted February 11, 2018 @Pixey you're welcome! Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal
BoltBait Posted February 11, 2018 Posted February 11, 2018 OMG, look out! @Pixey will be writing her own plugins soon! BTW, @MadJik, this is a very unique and interesting plugin. I don't think there is another plugin designed to be unique for every user that has it. Great idea. One question, if the text points to a graphic, do you have a "zoom" slider? Here is some code you could use to "zoom" a loaded bitmap: Spoiler public static Image ResizeImage(Image image, int width, int height) { var destRect = new Rectangle(0, 0, width, height); var destImage = new Bitmap(width, height); destImage.SetResolution(image.HorizontalResolution, image.VerticalResolution); using (var graphics = Graphics.FromImage(destImage)) { graphics.CompositingMode = CompositingMode.SourceCopy; graphics.CompositingQuality = CompositingQuality.HighQuality; graphics.InterpolationMode = InterpolationMode.HighQualityBicubic; graphics.SmoothingMode = SmoothingMode.HighQuality; graphics.PixelOffsetMode = PixelOffsetMode.HighQuality; using (var wrapMode = new ImageAttributes()) { wrapMode.SetWrapMode(WrapMode.Clamp); graphics.DrawImage(image, destRect, 0, 0, image.Width, image.Height, GraphicsUnit.Pixel, wrapMode); } } return (Image)destImage; } 2 Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game
MadJik Posted February 11, 2018 Author Posted February 11, 2018 Thank you @BoltBait. Good idea for the picture zoom. I made my font size scaling 3-4 steps based on the width of the selection. I could do the same for the image with you code. + a slider for the interface. Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal
MadJik Posted February 12, 2018 Author Posted February 12, 2018 New version: - Some more comments inside the code for better understanding (IMO). - Slider Size works with images (10=100% no resize, 20=resize 2x, 5=reduce 50%) (thanks @BoltBait for the idea and the routine) - Drop down lists with numbers (easier to write the code) - Secondary color choice could draw a rectangle (text only) - Catch error to avoid crash if the image can't be found. Known (Codelab?) issues: -Text in the RegionUI is destroied when you use the UI editor and when you build the DLL. -Trailing spaces in the text are trunked (if you want to enlarge the rectangle, it is possible to use Alt+0160 instead space) -Font name is useless as a preliminary choice, the first name of the list of font is always shawn when you run the effect. -Some font families make the calculation of the text size wrong (position of the rectangle or margin could look unexpected). Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal
Pixey Posted February 13, 2018 Posted February 13, 2018 Sorry this took so long @Seerose. My screen ware had changed since I last used it, so I had to relearn . I hope this video will help to show how the code lab works. 2 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.
MadJik Posted February 13, 2018 Author Posted February 13, 2018 @Pixey Thanks for the video ! You could save (overwrite) the source code to keep it personalized. You could also save as signatureImage and signatureText, then you'll have 2 signatures in the menu effects... Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal
Seerose Posted February 15, 2018 Posted February 15, 2018 Dear @Pixey! First of all, I would like to thank you for great video instructions. After the code lab. opening with me everything looks completely different. (Signature.cs) What should I do? Quote Live as if you were to die tomorrow. Learn as if you were to live forever. Gandhi
Pixey Posted February 15, 2018 Posted February 15, 2018 Yes, that is the correct .cs you have opened. Then you have to change certain things in the areas I show in the video. Make sure you can see the line numbers in the .cs Then you must change certain things in the code: 1. On line 10 ..... change false to true 2. Line 39 ...... put your name where is MadJik's name 3. Line 49 ..... remove the two green slashes // at the beginning of the lines of 49, 50, 51 & 52 then add your colors in the brackets (0 , 0, 0, ) etc; It IS a rather complicated thing to do @Seerose and it took me a while to understand it myself One needs a lot of patience 1 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.
Seerose Posted February 15, 2018 Posted February 15, 2018 @Pixey! Because I have no idea why I sometimes ask a lot more often. Video tutorial is perfect. Everything has its times. I try it out for the weekend. Thanks again. Sorry! Rep.punkt comes later (tomorrow). Quote Live as if you were to die tomorrow. Learn as if you were to live forever. Gandhi
dbozo67 Posted June 28, 2021 Posted June 28, 2021 I don't know what I'm doing wrong (obviously) but I can't even download the individual plugins? Quote
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.