xod Posted December 22, 2018 Author Share Posted December 22, 2018 The 'Rounded Rectangle' plugin has been updated. Now there is the possibility of synchronizing the four sliders without flickering. 2 Quote Link to comment Share on other sites More sharing options...
xod Posted January 5, 2019 Author Share Posted January 5, 2019 (edited) 'Text Distortion' plugin can be found in Effects -> Text Formations submenu. Edited May 11, 2020 by xod spelling corrections 4 3 Quote Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted January 6, 2019 Share Posted January 6, 2019 ^^ Love it! Seriously nice job. 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...
BoltBait Posted January 6, 2019 Share Posted January 6, 2019 Isn't it spelled "distortion"? 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 January 11, 2019 Share Posted January 11, 2019 @xod Thankyou for the Text Distortion effect. Some trapezoid distortions would be also nice.:) 3 Quote Link to comment Share on other sites More sharing options...
xod Posted January 11, 2019 Author Share Posted January 11, 2019 (edited) Redundant. Edited January 11, 2019 by xod Quote Link to comment Share on other sites More sharing options...
xod Posted January 11, 2019 Author Share Posted January 11, 2019 (edited) 2 hours ago, Eli said: ...Some trapezoid distortions would be also nice.:) Rotate / Zoom can do this. Also some plug-ins, such as Perspective Transformation, Quadrilateral Correction that runs much faster. Edited January 11, 2019 by xod 1 Quote Link to comment Share on other sites More sharing options...
Seerose Posted January 11, 2019 Share Posted January 11, 2019 2 1 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...
xod Posted January 24, 2019 Author Share Posted January 24, 2019 I'm trying to make a drawing tool for personal use, but I don't know how to transfer the drawing to the pdn surface. The project is here: https://www.mediafire.com/file/7chdzz3ban72rrc/PolygonTool.zip/file Thanks to those who will have the patience to take a look and gives me some advice. Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted January 24, 2019 Share Posted January 24, 2019 4 hours ago, xod said: but I don't know how to transfer the drawing to the pdn surface. To create a Surface from the Bitmap: bmpSurface = Surface.CopyFromBitmap(token.WorkBMP); Note: the new Surface will have the same dimensions as the Bitmap. If the Bmp Surface has the same dimensions as the Dst Surface, you can just do do this: dstArgs.Surface.CopySurface(source, rois, startIndex, length); If the two Surfaces have different dimensions, then you'll have to use something like GetBilinearSample(): if (length == 0) return; for (int i = startIndex; i < startIndex + length; ++i) { for (int y = rois[i].Top; y < rois[i].Bottom; y++) { if (IsCancelRequested) return; for (int x = rois[i].Left; x < rois[i].Right; x++) { dstArgs.Surface[x, y] = bmpSurface.GetBilinearSample(x, y); } } } 3 Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
xod Posted February 1, 2019 Author Share Posted February 1, 2019 (edited) I don't know why my shapes are surrounded by white pixels. Bitmap wrkbmp = new Bitmap(WorkBMP.Width, WorkBMP.Height); WorkBMP.DrawToBitmap(wrkbmp, WorkBMP.ClientRectangle); //make transparent wrkbmp.MakeTransparent(wrkbmp.GetPixel(0, 0)); ShapesTool.zip Edited May 1, 2019 by xod Quote Link to comment Share on other sites More sharing options...
HyReZ Posted February 1, 2019 Share Posted February 1, 2019 It may have something to do with anti-aliasing being enabled. I am not a coder so I have no idea what is needed to disable it in your script. 1 Quote Link to comment Share on other sites More sharing options...
MJW Posted May 24, 2019 Share Posted May 24, 2019 I don't have time to download and look through the code, but I think HyReZ is on the right track. It looks like the line is being antialiased against a white background, then the modified pixels are copied onto a transparent background. The white outline consists of pixels with partial coverage. Since I don't know what you're doing, I can't say exactly what's happening, but I suspect it's something similar. Quote Link to comment Share on other sites More sharing options...
Reptillian Posted May 29, 2019 Share Posted May 29, 2019 (edited) I can't say how to fix it, but I do think that adding a threshold value to determine which pixels gets transparent should answer your problem. x<threshold_value ? 0 : x The above is what I thought on how to solve it. If it just a plain color, then it should return a plain color instead of original x image. Edited May 29, 2019 by Reptillian Quote G'MIC Filter Developer I am away from this forum for undetermined amount of time: If you really need anything related to my PDN plugin or my G'MIC filter within G'MIC plugin, then you can contact me via Paint.NET discord, and mention me. Link to comment Share on other sites More sharing options...
MJW Posted May 29, 2019 Share Posted May 29, 2019 I expect there's a better solution than adding a tolerance; something that fixes the underlying problem rather than patching it over. Quote Link to comment Share on other sites More sharing options...
xod Posted June 18, 2019 Author Share Posted June 18, 2019 (edited) This 'ImageDistortion' plugin has been designed to be used with 'TextDistortion'. Can be found in the Effects ► Distort submenu. Edited May 11, 2020 by xod Replace with new version. 2 2 Quote Link to comment Share on other sites More sharing options...
lynxster4 Posted June 19, 2019 Share Posted June 19, 2019 Nice plugin @xod! I like the different distortion shapes. 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...
Seerose Posted June 20, 2019 Share Posted June 20, 2019 @ xod! 1 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...
xod Posted June 23, 2019 Author Share Posted June 23, 2019 (edited) The new version made with OptionBasedLibrary. Edited May 11, 2020 by xod Replaced with a new version. Added more distortions. Try to use text instead of images. 4 1 Quote Link to comment Share on other sites More sharing options...
xod Posted June 24, 2019 Author Share Posted June 24, 2019 (edited) Thanks @welshblue. I'm glad you find them useful. Impressive image! I also thank to @lynxster4 for the nice words and to @Seerose for the image. Thanks all for the rep points. Edited June 24, 2019 by xod Quote Link to comment Share on other sites More sharing options...
xod Posted September 10, 2019 Author Share Posted September 10, 2019 (edited) This is an experimental plugin. You need the two OptionBasedLibrary v0.7.9 files. You can place it where you want by editing the Align+.dlc file. In order to do that you need to change the extension to .txt Open it with Notepad and edit the line: AlignEffectPlugin.SubmenuName=your choise Save and change the extension to .dlc AlignPlus.zip Edited February 3, 2020 by xod Replaced with new version. 2 2 Quote Link to comment Share on other sites More sharing options...
Seerose Posted September 11, 2019 Share Posted September 11, 2019 @xod! Thank you for sharing this with us! 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...
lynxster4 Posted September 11, 2019 Share Posted September 11, 2019 This is nice @xod, but it overwrites the one you wrote with @MJW, which I use all the time. The coding needs to reflect that you are calling it 'Align+'. Thanks! 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...
xod Posted September 12, 2019 Author Share Posted September 12, 2019 That shouldn't happen. For testing I placed it in the Object submenu. In my case, the new plugin does not overwrite the existing one. You probably have a different version of Align Object than the official one. Quote Link to comment Share on other sites More sharing options...
lynxster4 Posted September 12, 2019 Share Posted September 12, 2019 And you are correct @xod. I have an older version of the plugin because it loads it directly under Effects, which is where I want it because I use it often. 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...
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.