C# Script - Return List of Colors in Image

Completed Posted Jan 21, 2009 Paid on delivery
Completed Paid on delivery

Hello,

## overview

If you check out istockphoto's advanced image search [ [url removed, login to view] ],

you can select the colors in which you which to search for.

I'm trying to copy this function for another project.

## Your task.

I need a C# script.

*I will use it with a both winforms and winforms*. Your script will receive a file path.

eg "c:\temp\images\[url removed, login to view]"

Your function will open the image, scan the image, and return a **data table** of all the colors in the image:

1. the # hex value for the color

2. the rgb vlue (102, 102, 102)

3. % of the image that color appeared.

4. the nearest similar color from a list or primary colors.

eg:

| b00b7 | (102, 102, 32) | 10.22 | #0247FE |

| 00f0f0 | (142, 102, 12) | 44.77 | #66B032 |

| 440019 | (12, 32, 102) | 2 | #0247FE |

these numbers are just an idea, the values are random

list of primary colors:

#0247FE

#0392CE

#66B032

#D0EA2B

#FEFE33

#FABC02

#FFCC99

#FD5308

#FD1408

#A7194B

#FD08F4

#8601AF

#3D01A4

#663300

#000000

I believe much of the c# source code you need is here:

[url removed, login to view]

## finally

If you have smarter way to do this, or any recommendations let me know.

C Programming PHP

Project ID: #3562389

About the project

6 proposals Remote project Active Jan 21, 2009

Awarded to:

dhiogorb

See private message.

$17 USD in 9 days
(54 Reviews)
4.7

6 freelancers are bidding on average $18 for this job

thrillenium

See private message.

$21.25 USD in 9 days
(68 Reviews)
5.3
wwwPHP

See private message.

$21.25 USD in 9 days
(142 Reviews)
4.8
sharkbyte2008vw

See private message.

$21.25 USD in 9 days
(15 Reviews)
2.4
tsoftconsultancy

See private message.

$21.25 USD in 9 days
(0 Reviews)
0.0
umutsalih

See private message.

$8.5 USD in 9 days
(0 Reviews)
0.0