Friday, January 8, 2010

Why was Paint.net coded in C# and why was it a good choice?

Why was Paint.net coded in C# and why was it a good choice?Why was Paint.net coded in C# and why was it a good choice?
While I would not be certain without asking the developer, I would suspect that C# was chosen because Paint.NET was originally intended on being a simple replacement for Microsoft's Paint program. C# is very easy to use to write programs using GUI's and, using the .NET libraries, C# can do a lot of things very easily. Because the program was going to be extremely simple and the creation of an GUI (which is important for image editing) was so easy, C# was a good choice.





However, Paint.NET grew into a larger and more complex program. I haven't used it, so I am not sure how complex though. Usually in large programs or programs that require a lot of processing (some image filters in photoshop can use a lot of CPU power while running) you can get a little better performance using a language such as C++. Also, C# and .NET languages sometimes use more memory than an equivalent C++ program. (This is not to say C# performs poorly, though) However, standard C++ libraries do not include a way to create a GUI. You can use MS's API's to create windows and GUI's in C++, but those libraries are not easy to use. So, as more features were added to the original/simple version of Paint.NET, it became more complex. However, as the program was already written in C#, converting the program to another programming language would be a complex task and the benefits would probably not be worth it because most modern computers can make up for any performance or memory usage differences.


The only other problem I can easily see in using a .NET language, is you must use an operating system capable of using the .NET version your program uses. However, this isn't really a problem, as long as you know it while your are planning/designing the projects. Then you can just list it as a system requirement and not a problem in program portability. Why was Paint.net coded in C# and why was it a good choice?
I think they mentioned it was a college course project. C# is easier than C++ and similar (there is more C++ graphic handling source code than for any other language), and the .NET framework has a lot of functionality - it took less time to develop it.
C# was developed as a programming platform for .NET applications. It was a good choice because it was planned to work seamlessly with the .NET environment.
Which company does .net come from?


Which company does C# come from?


  • over the counter cream
  • venetian mask
  • Where can I download the brushes plugin for Paint.net?

    I had it on my other computer and now that I got a new computer I do not and I can't find where to download it :(Where can I download the brushes plugin for Paint.net?
    Most plug-ins for getpaint.net are from their forum:





    http://paintdotnet.forumer.com/viewforum鈥?/a>





    Ron

    How do you 'warp' pictures on Paint.net?

    10 points xHow do you 'warp' pictures on Paint.net?
    You can use Bulge and/or Twist.


    There is a free step by step tutorial here:


    http://www.thetutorgenie.com/PaintDotNet鈥?/a>





    Look under the 'Distortion' section.








    ~JeanneHow do you 'warp' pictures on Paint.net?
    what do you mean by warp?

    Is the Paint.net program compatible for my MAC?

    My Professor uses this program in class and I would like to have it for personal use at home.Is the Paint.net program compatible for my MAC?
    Looking at the minimum requirements, it seems it can only be installed on Windows (annoying, I know).Is the Paint.net program compatible for my MAC?
    Sorry, but no. It uses the .net framework, which runs under Windows only.





    You might take a look at Gimp. It's free and works on Mac OS (and Linux and Windows). See if you can persuade your professor to switch or to at least consider it.

    How do I color my own drawings on paint.net?

    In detail please! I have drawings that I hand-drew, but I want to color them the most efficiant way possibleHow do I color my own drawings on paint.net?
    Well, you can create a new layer, pick the desired color and paint the area you want to paint with the paintbrush and set the blending mode (F4) to multiply or whichever one works best. Play with the transparency of the color too.

    How do you install a plugin on paint.net?

    The title speaks for itselfHow do you install a plugin on paint.net?
    Just drop the plugin's dll file into either Paint.NET's ';effects'; directory or the ';filetypes'; directory. These should be located at c:\Program Files\Paint.NET\





    http://paintdotnet.forumer.com/viewtopic鈥?/a>

    How do i add brushes to paint.net?

    I have downloaded the plug-in but i want to add brushes but they are .abr files and im guess you need to change them to .png how would i go about doing that?!





    plz just explain the easiest way you can! im a bit fustrated!How do i add brushes to paint.net?
    Search ';Abr Viewer'; Download it and add your brushes to it and export them. Then they are saved as pictures and they work.
  • over the counter cream
  • venetian mask
  •