emyabdel Posted July 5, 2018 Share Posted July 5, 2018 (edited) hello I have a normal image and i want to make it a Distressed image. How can I do that? thanks (distressed image is something like that: https://pixabay.com/en/stars-distressed-distress-grunge-2383711/ Edited July 5, 2018 by emyabdel Quote Link to comment Share on other sites More sharing options...
Pixey Posted July 5, 2018 Share Posted July 5, 2018 @emyabdel Welcome to PDN There are a number of ways to do this. You could use Custom Mini Brushes and download Splatter Brushes from Brush easy, or you could also use Brush Factory. I made a simple star with 'splats' by making a solid black star, using the Shapes Tool and then, on a new layer, added the splats - using Brush Factory. 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...
BoltBait Posted July 5, 2018 Share Posted July 5, 2018 3 hours ago, emyabdel said: it's something like that: https://pixabay.com/en/stars-distressed-distress-grunge-2383711/ There's already a plugin that does this. It's called "Make Dirty". Here's the CodeLab script: // Name: Make Dirty // Submenu: Render // Author: BoltBait // Title: BoltBait's Make Dirty // Version: 1.0 // Desc: Make an image dirty // Keywords: dirty, olden, rust // URL: http://BoltBait.com/pdn #region UICode IntSliderControl Amount1 = 250; // [2,1000] Scale DoubleSliderControl Amount2 = 0.5; // [0,1] Roughness BinaryPixelOp Amount3 = LayerBlendModeUtil.CreateCompositionOp(LayerBlendMode.Normal); // Blend Mode ReseedButtonControl Amount4 = 0; // [255] Reseed #endregion // Setup for calling the Render Clouds function CloudsEffect cloudsEffect = new CloudsEffect(); PropertyCollection cloudsProps; // Setup for using Multiply blend op private BinaryPixelOp multiplyOp = LayerBlendModeUtil.CreateCompositionOp(LayerBlendMode.Multiply); protected override void OnDispose(bool disposing) { // Release any surfaces or effects you've created. if (cloudsEffect != null) cloudsEffect.Dispose(); cloudsEffect = null; base.OnDispose(disposing); } void PreRender(Surface dst, Surface src) { cloudsProps = cloudsEffect.CreatePropertyCollection(); PropertyBasedEffectConfigToken CloudsParameters = new PropertyBasedEffectConfigToken(cloudsProps); CloudsParameters.SetPropertyValue(CloudsEffect.PropertyNames.Scale, Amount1); CloudsParameters.SetPropertyValue(CloudsEffect.PropertyNames.Power, Amount2); CloudsParameters.SetPropertyValue(CloudsEffect.PropertyNames.BlendMode, Amount3); CloudsParameters.SetPropertyValue(CloudsEffect.PropertyNames.Seed, (int)Amount4); cloudsEffect.SetRenderInfo(CloudsParameters, new RenderArgs(dst), new RenderArgs(src)); } // Here is the main render loop function void Render(Surface dst, Surface src, Rectangle rect) { // Call the Clouds function using Black and White cloudsEffect.Render(new Rectangle[1] {rect},0,1); // Now in the main render loop, the dst canvas has a render of clouds for (int y = rect.Top; y < rect.Bottom; y++) { if (IsCancelRequested) return; for (int x = rect.Left; x < rect.Right; x++) { ColorBgra CurrentPixel = dst[x,y]; CurrentPixel = multiplyOp.Apply(src[x,y], CurrentPixel); dst[x,y] = CurrentPixel; } } } Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
emyabdel Posted July 5, 2018 Author Share Posted July 5, 2018 48 minutes ago, Pixey said: @emyabdel Welcome to PDN There are a number of ways to do this. You could use Custom Mini Brushes and download Splatter Brushes from Brush easy, or you could also use Brush Factory. I made a simple star with 'splats' by making a solid black star, using the Shapes Tool and then, on a new layer, added the splats - using Brush Factory. thank you i will try this Quote Link to comment Share on other sites More sharing options...
emyabdel Posted July 5, 2018 Author Share Posted July 5, 2018 44 minutes ago, BoltBait said: There's already a plugin that does this. It's called "Make Dirty". Here's the CodeLab script: thank you but i'm newbie i don't understand coding could you give me this plugin to download Quote Link to comment Share on other sites More sharing options...
BoltBait Posted July 5, 2018 Share Posted July 5, 2018 Sorry, but I’m away from my computer today and I can’t do that from my phone. But, here is some instructions on what to do with a CodeLab script (written for a newbie): https://forums.getpaint.net/topic/111233-codelab-for-average-users-a-laymans-guide/ 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 July 5, 2018 Share Posted July 5, 2018 Unfortunately this tutorial is missing the images. It might give you a starting point: 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...
Djisves Posted July 9, 2018 Share Posted July 9, 2018 It may be worth your while to have a look at this one too: Quote 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.