1. Negative Images
- Posted by Alex Chamberlain <alex.chamberlain at tiscali.co.uk> Mar 17, 2006
- 509 views
- Last edited Mar 18, 2006
Hi, I was wondering if anyone had a routine for finding the negative of an image? The source will be a Jpeg. Chers, Alex
2. Re: Negative Images
- Posted by "Greg Haberek" <ghaberek at gmail.com> Mar 17, 2006
- 507 views
- Last edited Mar 18, 2006
> I was wondering if anyone had a routine for finding the negative of an im= age? The source will be a Jpeg. Isn't a negative just an complete inverse of a color image? If so, then load it into Paint and click Image > Invert Colors... If you want to do it code-wise, just or_bits() the color with whatever White is (255, #FFFFFF, etc.)
3. Re: Negative Images
- Posted by Al Getz <Xaxo at aol.com> Mar 18, 2006
- 514 views
Greg Haberek wrote: > > > I was wondering if anyone had a routine for finding the negative of an im= > age? The source will be a Jpeg. > > Isn't a negative just an complete inverse of a color image? If so, > then load it into Paint and click Image > Invert Colors... > > If you want to do it code-wise, just or_bits() the color with whatever > White is (255, #FFFFFF, etc.) > > Hi Greg, Not to be nit-picking or anything, but didnt you mean xor_bits() instead of or_bits() ? Take care, Al And, good luck with your Euphoria programming! My bumper sticker: "I brake for LED's" From "Black Knight": "I can live with losing the good fight, but i can not live without fighting it".
4. Re: Negative Images
- Posted by "Greg Haberek" <ghaberek at gmail.com> Mar 18, 2006
- 504 views
> Not to be nit-picking or anything, but didnt you mean xor_bits() > instead of or_bits() ? Probably. I usually play around with and_bits(), or_bits() and xor_bits() until I get the desired result. :)