crosswalker Posted May 17, 2006 Share Posted May 17, 2006 I'm having trouble with that code. For some reason, if I set the opacity of the primary color (black by default) to 255 and the opacity of the secondary color(white by default) to 0 and run the code in codelab, the image in only even partially opaque for the top 5 or so pixels, everything beneath that is totally transparent. This was on a 128x128 image btw. If I make the secondary color semi-transparent white (34 or so opacity, the whole image become semi-transparent with no apparent gradient. What am I doing wrong? Link to comment Share on other sites More sharing options...
SearedIce Posted May 17, 2006 Author Share Posted May 17, 2006 What am I doing wrong? It sounds like you're using the old code. Try this: http://searedice.rchomepage.com/images/ ... nsFade1.cs Link to comment Share on other sites More sharing options...
crosswalker Posted May 17, 2006 Share Posted May 17, 2006 That did the trick. Thanks. Great effect! Link to comment Share on other sites More sharing options...
aatwo Posted June 25, 2006 Share Posted June 25, 2006 I used the code over at http://searedice.rchomepage.com/images/ ... nsFade1.cs in the codelab thingy and clicked ok but nothing happens. :(:( Deviant Art Gallery Link to comment Share on other sites More sharing options...
Crazy Man Dan Posted June 26, 2006 Share Posted June 26, 2006 Did you change your primary and secondary colors? The script fades from the alpha value set for your primary color to the alpha value set for your secondary color. In order to fade out the image, you'll have to have one of your colors set to 0 alpha. I am not a mechanism, I am part of the resistance; I am an organism, an animal, a creature, I am a beast. ~ Becoming the Archetype Link to comment Share on other sites More sharing options...
aatwo Posted June 26, 2006 Share Posted June 26, 2006 I am sorry i did not. But the gradient plugin does this so I used that instead. Deviant Art Gallery Link to comment Share on other sites More sharing options...
brutal Posted January 2, 2008 Share Posted January 2, 2008 Could someone make this into a DLL file please. Link to comment Share on other sites More sharing options...
Rick Brewster Posted January 2, 2008 Share Posted January 2, 2008 Could someone please read the rules about replying to posts that are very old. (Yes brutal, that means you. Go read the rules please.) Thread Closed The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Recommended Posts