Jump to content

BoltBait

Administrator
  • Posts

    15,728
  • Joined

  • Last visited

  • Days Won

    405

Everything posted by BoltBait

  1. So, EER, have you come out of retirement for one last skin job? You're no bladerunner, you're little people!
  2. Mike, you have to push buttons?! My CSI photo enhancer has voice recognition.
  3. CodeLab 2.5 Released This is only for Paint.NET 4.0! Changes: ▪ Two buttons added to the "View Source" screen. ▪ You can no longer build untitled files to dll. (Requested by skyoxZ) ▪ Added UI Elements Renumber command. (Requested by MJW) Grab the CodeLab DLL here: http://www.boltbait.com/pdn/CodeLab/ How to Renumber UI Elements The easiest way to work with CodeLab is to design your UI first, then write the code to your effect. I usually do this using the UI Designer located in the File > User Interface Designer menu. For example, let's say you want to design an effect with a foreground and background color selection. After using the User Interface Designer your code may look like this: #region UICode ColorBgra Amount1 = ColorBgra.FromBgr(0,0,0); // Foreground ColorBgra Amount2 = ColorBgra.FromBgr(0,0,0); // Background #endregion : Now, let's assume you've written your effect and everything's working fine. Then, later you decide to add an Alpha control for each of the color wheels. Here's the best way to do it:Use the UI Designer to add 2 new Alpha Controls to the bottom of the list. After doing that, your code will look like this: #region UICode ColorBgra Amount1 = ColorBgra.FromBgr(0,0,0); // Foreground ColorBgra Amount2 = ColorBgra.FromBgr(0,0,0); // Background int Amount3 = 255; // [0,255] Foreground Alpha int Amount4 = 255; // [0,255] Background Alpha #endregion : At this point, you can write the code that makes the new controls work... or you can wait until you've reordered the controls.You'll probably want the alpha controls under the corresponding color wheel controls. In order to do that, carefully reorder the lines of the UICode block, like so: #region UICode ColorBgra Amount1 = ColorBgra.FromBgr(0,0,0); // Foreground int Amount3 = 255; // [0,255] Foreground Alpha ColorBgra Amount2 = ColorBgra.FromBgr(0,0,0); // Background int Amount4 = 255; // [0,255] Background Alpha #endregion : DO NOT change the variable names... let's let CodeLab do that for you!Notice in our code above, we've moved the Alpha slider Amount3 to just below Color wheel Amount1. At this point you're ready to renumber the controls. Use the menu option File > Renumber UI Variables. After, your code looks like this: #region UICode ColorBgra Amount1 = ColorBgra.FromBgr(0,0,0); // Foreground int Amount2 = 255; // [0,255] Foreground Alpha ColorBgra Amount3 = ColorBgra.FromBgr(0,0,0); // Background int Amount4 = 255; // [0,255] Background Alpha #endregion : ...and all of the rest of your code has been updated as well.I also modified the User Interface Designer so that if you open it when the UI controls need to be renumbered, it will do that for you before the UI Designer opens. NOTE: Although it is possible to reorder controls in the UI Designer, you will need to update your code manually to handle your changes done this way.
  4. Everything you need is here: Before and after image... http://forums.getpaint.net/index.php?/topic/1470-help-what-did-i-do/
  5. Don't listen to racerx. He doesn't know what the hell he's talking about.
  6. This was probably created with Corel Photopaint. The function used is called "Local Equalization" under the Image > Adjust menu. Old versions of Corel Photopaint can be had for fairly cheap. You don't need the latest version to do this function.
  7. It looks like you're having a problem with Color Harmonies plugin. You could just delete Effects\ColorHarmonies.Effect.dll to see if that fixes your problem. But, it looks to me like you have a bigger problem... too many plugins. My recommendation is to remove all the files in your Effects folder and start again by downloading only the effects you need.
  8. The file you're trying to save to already exists and is marked 'read only'. Try saving your file to the desktop first so you don't lose your work. Then, you need to right click on the target file and change the properties to remove the 'read only' attribute.
  9. MJW, please don't distribute a modified CodeLab. I love what you've done and I'll include it in the next release of CodeLab. But, in the future, just PM me something like that and I'll look at it. I usually accept code contributions. I've got some other small changes already done, so I'll look at your code this weekend and incorporate it. Then I'll make an official build.
  10. Try pressing: F8 In paint.net version 4.0+, there are small buttons in the upper right corner of the paint.net window that show/hide the four docker windows.
  11. Try this: http://forums.getpaint.net/index.php?/topic/28852-line-jumpsskips-to-top-of-window-while-drawing/
  12. One thread per person. Just add to your existing thread. Closed.
  13. The problem with that method is that the mouse needs to be held down between points and therefore you'll get crooked lines.
  14. Try using the plugin browser: http://forums.getpaint.net/index.php?/topic/29308- EDIT: I see you've already tried that. Well, sorry, but that's the best we have at the moment. Perhaps, you'd like to take on the challenge of compiling such a list?
  15. Try disabling "Hardware accelerated rendering (GPU)" to see if that fixes the problem for you. This can be disabled by: -Running paint.net -Click the gear in the upper right corner -Uncheck "Hardware accelerated rendering (GPU)" on the User Interface tab of the Settings dialog box. -Click Close
  16. That's correct. Warren Paint owns the web address paint.net. If you want paint.net's web site, try getpaint.net instead.
  17. Check here: http://forums.getpaint.net/index.php?app=members&module=messaging
  18. The dress image is just an optical illusion similar to this one: In the above image, squares A and B are the same color. Check with eye dropper tool. In the dress image, your color perception is being manipulated by the context (background color). In other words, there is no bug in paint.net relating to the eye dropper tool.
  19. As mentioned before in this thread, this has already been fixed for the next release.
  20. For something simple like this, just use the File > New templates to write the code for you.
  21. Two questions: 1) Why do you need them? 2) What's Sussie's phone number?
×
×
  • Create New...