Twas brillig at 11:42:20 17.08.2009 UTC+10 when [email protected] did gyre 
and gimble:

 CH(R> On Sun, 16 Aug 2009 20:25:10 +0700 Mikhail Gusarov 
<[email protected]>
 CH(R> said:

 >> This is needed for E-Ink devices outta there. Names of new files,
 >> configure.ac variables and macros are awful, suggestions are welcome.

 CHR> strange that u use a palette table lookup and you like to use rgb
 CHR> weighting on conversion to grayscale :)

Well, I would ask X server for RGB values available in palette (is there
approprite X request for this?), sort them and build Voronoi's diagram
for optimal RGB->values mapping, but I felt it is kind of overkill :)
Though it can be useful as a super-generic super-slow high-quality
fallback.

So I relied on the fact palette filler in EFL provides uniform filling,
and hence the grayscale palette is a linear approximation of full-range
0..255 grayscale, so index in palette corresponds to the luminance
picewise-linearily.

</pretension to know math>

-- 
  http://fossarchy.blogspot.com/

Attachment: pgpE8g4ocE1kZ.pgp
Description: PGP signature

------------------------------------------------------------------------------
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
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to