MarsWalker Posted January 17, 2010 Share Posted January 17, 2010 Hi, I'm trying to do some IR photography and found a excellent site for it. http://www.lifepixel.com/videos/basic-i ... -info.html The problem is that one of the things to do is to swap the red and the blue channels. Can anyone help me ? Thanks in advance, Raul COsta Link to comment Share on other sites More sharing options...
BoltBait Posted January 18, 2010 Share Posted January 18, 2010 Look for a plugin called Curves+ by pyrochild. That can do it. Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
pyrochild Posted January 18, 2010 Share Posted January 18, 2010 Yes, but Ed Harvey's Color Flip / Rotate can do it easier. ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it! Link to comment Share on other sites More sharing options...
BoltBait Posted January 18, 2010 Share Posted January 18, 2010 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; } } } Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
barkbark00 Posted January 18, 2010 Share Posted January 18, 2010 Yeah, and so would this CodeLab script: void Render(Surface dst, Surface src, Rectangle rect) { ColorBgra CurrentPixel; for (int y = rect.Top; y < rect.Bottom; y++) { for (int x = rect.Left; x < rect.Right; x++) { CurrentPixel = src[x,y]; byte tempR = CurrentPixel.R; CurrentPixel.R = CurrentPixel.B; CurrentPixel.B = tempR; dst[x,y] = CurrentPixel; } } } Hey, that's kinda like a bubble sort! Take responsibility for your own intelligence. 😉 -Rick Brewster Link to comment Share on other sites More sharing options...
BoltBait Posted January 18, 2010 Share Posted January 18, 2010 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; } } } Hey, that's kinda like a bubble sort! Only in Bizzaro world. Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
barkbark00 Posted January 18, 2010 Share Posted January 18, 2010 Pretty convenient that I am Mayor of Bizzaro world, hmm? ;-) Take responsibility for your own intelligence. 😉 -Rick Brewster Link to comment Share on other sites More sharing options...
theonlychad Posted January 18, 2010 Share Posted January 18, 2010 I am the Emperor of Bizzaro world, how convenient "Clearly it's a very serious and literal meaning. If you're not solving physics equations then get off my lawn!-Rick Brewster Paint.net Lead Developer" Link to comment Share on other sites More sharing options...
barkbark00 Posted January 18, 2010 Share Posted January 18, 2010 That just means that I am more in-touch with the locals... Take responsibility for your own intelligence. 😉 -Rick Brewster Link to comment Share on other sites More sharing options...
Recommended Posts