Jump to content

jchunn

Members
  • Content Count

    149
  • Joined

  • Last visited

Posts posted by jchunn

  1. The code works. Did you read the entire post (the post with the download link)? Is Paint.Net installed in the default location (c:\program files\paint.net)?

    The project is set up with a build action to copy the compiled dll to the "c:\program files\paint.net\effects" folder. If that folder is not there, you will have problems. If the folder is there, and Paint.Net is running, you will also have problems since (as Pyro pointed out) the dll will be in use by Paint.Net and therefore cannot be replaced. If you follow ALL of the instructions, then when you run your application, it will automatically copy the dll to the folder and then run Paint.Net for you, with your plugin in the menu.

    If you did not install Paint.Net to the default location, then you either need to remove the build action (and manually copy the dll to the effects folder when you want to test it), or modify it to point to the correct folder based on where you installed Paint.Net.

  2. Your problems are sounding a lot like bad ram. I lived with IE locking up for months before I finally did a ram check and discovered a bad chip. It would be worthwhile to take your pc by BestBuy (or some better place) and having the tech check the ram. I have had very similar problems in the past and a new ram chip fixed it right up. Good luck.

  3. I have digital photos of a bedroom I want to paint. The walls and ceiling are white. Is there a way to make the walls and ceiling transparent using Paint.net tools? My plan is to then make a transparency from the photo and put different paint samples behind it to see how different colors would look in the room. Thanks, Beth

    Start by trying the magic wand. If that doesn't do it for you, try the "Color Replace" plugin in the Jesse Chunn plugin pack.

  4. You need this in the EffectPluginConfigToken.cs

            protected EffectPluginConfigToken(EffectPluginConfigToken copyMe)
               : base(copyMe)
           {
               // this.variable = copyMe.variable;
             this.Distance = copyMe.Distance;
             this.Angle = copyMe.Angle;
             this.Smoothing = copyMe.Smoothing;
             this.EffectMap = copyMe.EffectMap;
             this.other = copyMe.other;
             this.stretch = copyMe.stretch;
           }
    

    Good catch.

  5. Hi I am new to the forums and Ash your tut is great but i dont understand how to make the other gradient over the black one?? :?: :?

    I had a problem with that as well... I eventually had to create another layer for the other gradient and then flatten after... otherwise it kept overwriting the first one... and yes, I was careful to end the gradient session... not sure what I was doing wrong.

  6. You're a little late. But I had to make sure, since in an earlier beta version of PDN, OnSetRenderInfo was called SetRenderInfo.

    SetRenderInfo() is the public method, which then calls the protected and virtual OnSetRenderInfo().

    And that is generally the standard way of doing things... which makes it intuitive for people like me... I very much appreciate it when API's follow the established conventions... it allows me to hit the ground running.

  7. You're a little late. But I had to make sure, since in an earlier beta version of PDN, OnSetRenderInfo was called SetRenderInfo.

    Understood. I still think that SABrown is tackling this thing in a strange and twisted kinda way. SABrown, if you want to just pm your code to me, I'll be happy to take a look and see if maybe I can spot some places where I can help you out with some of the issues you are having... two heads are better than one, after all. Just a suggestion.

  8. Not sure if this is possible, but can you show the contents of the layers above and below?

    I know he can not show the other layers... the effect api does not give access to anything but the current layer.

    I know that much, I was sort of hoping if it was possible to collect the data on a seperate layer, not for edit though.

    No, that is what I'm saying... the api does not give access (even read only access) to the other layers. All you get is the pixels of the current layer. You get read access to the entire layer, and write access to the selected area.

  9. Just a note it's called photoshopping

    Photochopping is a widely accepted alternate name.

    EDIT: Also, no plugins can be created to do this. Plugins can only do effects, adjustments, and filetypes.

    True, BUT, you can use a plugin to delete everything but the thing that you are trying to "select", giving the desired result, which is a specifit portion of the original image "cut out" from the original.

  10. But can use VS08 right? Why should I use that other program? I would think it must be simpler. I have no idea what I need to do to make a plugin in this thing. let's say I'm starting with the limited code I have right now. How do I make a UI for it, what system files do I need to reference, how do I handle an image variable for the mask??? If it would take too long to explain and it would be simpler just to finish the plugin yourself please feel free to do so, because I may not.

    Yes, you can use Visual Studio 2008. You should use that if you have it. To make a plugin, download the plugin template or an existing plugin and use that as a starting point, then ask questions once you get stuck. You should read, at least, the following posts (and ALL replies) before assuming you are stuck:

    http://paintdotnet.forumer.com/viewtopic.php?f=5&t=2618

    http://paintdotnet.forumer.com/viewtopic.php?f=6&t=4920

    If you read those and are still not making progress, then I urge you to read as many posts in the Effects API forum as possible. There is no comprehensive documentation for the effects api... any information that is available has to be pieced together from these forums.

  11. You might also try playing around with the "color replace" and/or "Soften Edges" (using "edge only" and then using the outline as a template), both found HERE. I'd be interested to know if that helps. You could also post the picture and what you are trying to do... often people here will do it for you and show you how they accomplished it.

  12. Use layers... put one image on one layer, the other image on another layer, and then adjust the "Opacity" in the layer properties until you have the amount of transparency you want.

    You should also play with the blending mode in the layer properties... you can get some interesting effects that way too. It is not transparency, but it is pretty interesting stuff.

×
×
  • Create New...