Jump to content

BoltBait

Administrator
  • Posts

    15,647
  • Joined

  • Last visited

  • Days Won

    390

Everything posted by BoltBait

  1. Yeah, and so would this CodeLab script: void Render(Surface dst, Surface src, Rectangle rect) { ColorBgra CurrentPixel; for (int y = rect.Top; y { for (int x = rect.Left; x { CurrentPixel = src[x,y]; byte tempR = CurrentPixel.R; CurrentPixel.R = CurrentPixel.B; CurrentPixel.B = tempR; dst[x,y] = CurrentPixel; } } }
  2. No, effects can not access other layers in your file. This is a limitation of the Paint.NET effect system. This is why I asked Illnab1024 to add the clipboard functionality.
  3. Look for a plugin called Curves+ by pyrochild. That can do it.
  4. I mean, really! Who wears a white bra under a black dress?!
  5. My plugin pack adds stuff to that menu. Try this: viewtopic.php?f=16&t=22819
  6. It is fairly complicated. I just sent Illnab1024 a message to see if he has some sample code. His AlphaMask plugin has this function.
  7. You can not. It is a limitation of the Paint.NET plugin system that you are limited to reading only pixels on the currently selected layer. This may be fixed in a future version of Paint.NET, but don't hold your breath waiting for it.
  8. lekkimsm2500, update to the latest release of Paint.NET. This has not been a problem since version 3.5 shipped.
  9. Actually if implemented correctly (I happen to be a programmer) would cost very little. Also my friend was a bit confused with that "every operation" statement. Say you have selected a piece of text and want to edit it. You simply flatten it and it turns into an image layer. If you choose a brush or a pencil tool and draw while you have an image layer selected it works on that layer. Like I said if implemented correctly the cost is trivial. (By the way all of these ideas are taken from Adobe Fireworks). What you are describing is a vector drawing program. Perhaps, you need Inkscape instead of Paint.NET.
  10. CodeLab has been updated. Grab your copy here: http://www.boltbait.com/pdn/codelab/ Your effects can now have customized title bars. Enjoy. BTW, this new build works with PdN 3.36+
  11. Paint.NET does not come with any fonts. If you have additional fonts available on your old computer, you probably installed some software that came with fonts. If you can't figure out what software that was, you could try going to http://dafont.com and find/install some of your favorite fonts for free.
  12. In my opinion, you should be saving your pictures in a lossless (PNG) format. If you continue to open/save, open/save, open/save your pictures, they will eventually look awful as JPG is a lossy format.
  13. Lesson 1: How to download and install plugins Seriously, without plugins you have no feather function.
  14. No. The default for single layer images is PNG and for multi-layer is PDN.
  15. Or, you could try Frosted Glass(2) followed by the Toon effect. viewtopic.php?p=11746#p11746 Enjoy.
  16. It seems to me that this can easily be done with a built-in Paint.NET effect. Open Paint.NET Fill the canvas with black Effects > Noise > Add Noise (Intensity: 100, Saturation: 0, Coverage: 2.02)
  17. This happens when the original object is already feathered. Use my Adjustments > Transarency plugin to adjust the object to full opacity before running the feather.
  18. I made a plugin that does exactly what you want. Let me see if I can find it. EDIT: Here it is... // Author: BoltBait // URL: http://www.BoltBait.com/pdn // Name: Alpha to Gray // Submenu: Object #region UICode byte Amount1 = 0; // Convert|Alpha to Gray|Gray to Alpha bool Amount2 = false; // [0,1] Invert calculation #endregion private UnaryPixelOps.Desaturate desaturateOp = new UnaryPixelOps.Desaturate(); void Render(Surface dst, Surface src, Rectangle rect) { ColorBgra CurrentPixel; for (int y = rect.Top; y { for (int x = rect.Left; x { CurrentPixel = src[x,y]; switch(Amount1) { case 0: // Alpha to Gray CurrentPixel.R = CurrentPixel.A; CurrentPixel.G = CurrentPixel.A; CurrentPixel.B = CurrentPixel.A; CurrentPixel.A = (byte)255; if (Amount2) { CurrentPixel.R = (byte)(255-CurrentPixel.R); CurrentPixel.G = (byte)(255-CurrentPixel.G); CurrentPixel.B = (byte)(255-CurrentPixel.; } break; case 1: // Gray to Alpha CurrentPixel.A = (byte)(255-(desaturateOp.Apply(CurrentPixel).R)); if (Amount2) { CurrentPixel.A = (byte)(255-CurrentPixel.A); } break; } dst[x,y] = CurrentPixel; } } } Are you familiar with CodeLab? If not, here is the effect DLL: Alpha2Gray.zip Place it into your C:\Program Files\Paint.NET\Effects folder and unzip the file. If you have trouble installing this, post your troubles here: viewtopic.php?f=16&t=2023 By the way, did you know that this type of thing is really easy with pyrochild's Curves+ plugin? There is no need for this plugin if you are proficient with Curves+.
  19. Before anyone helps you, you need to read this thread: viewtopic.php?f=20&t=3446 Then, tell me how many rules this post is breaking?
  20. Basically, you need to use the feather tool for that. And, if it's not working for you, you're probably not using it correctly. Also, I recommend reading the forum rules: viewtopic.php?f=20&t=3446
×
×
  • Create New...