On Sat, Aug 8, 2009 at 11:13 PM, Omari Stephens<[email protected]> wrote:
> Niels Kristian Bech Jensen wrote:
>>  > From: [email protected]
>>  > To: [email protected]
>>  > Date: Fri, 7 Aug 2009 16:10:19 +0200
>>  > Subject: Re: [UFRaw-Devel] Alignment lines overlay
> ::snip? SNIP!::
>>  > Also, currently the lines are black, maybe a GIMP like approach would be
>>  > better suited. I'm not exactly what it is what GIMP does with this
>>  > lines, but I'm guessing it's inverting the colors.
>>  >
>> This was also my first impression. Black lines does not work well in
>> images with large shadow areas. Some sort of inversion should work.
>
> I haven't thought this out completely for colors, but my gut feeling is that 
> it
> should be super-easy to do this by XORing with white.  (white) XOR (white) is
> black; (black) XOR (white) is white; (red) XOR (white) is turquoise.

Uhm... white = ffffff00.... I guess...

xor ffffffff is het same as inverting it...

The only thing left, is when inverting it, it would at least in theory
also affect transparancy (if this is an issue with UFRaw at all).

The xor could possibly prevent that issue.

Regards,
Pascal de Bruijn

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
ufraw-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ufraw-devel

Reply via email to