1. Jan 8, 2006

### NorrisP

Also, in ordor to draw with color, will you chose to create 16, 32,64,128,256 color modes ? which one you often chose ?
Thanks you very much

2. Jan 8, 2006

### dduardo

Staff Emeritus

2) Pick the number of colors you want to use. If you need 256 colors, then go with that, if not pick less. It is completely dependent on your application.

3. Jan 8, 2006

### NorrisP

thank you dduardo, but if 256, 256 mean I must create 256 array of color ?
but what if it bigger than 256 like a million of color.?
I need create many color, i see my computer have million color, i need distingush each of them.

4. Jan 8, 2006

### dduardo

Staff Emeritus
If the library your using only has support for 8bits = = 2^8 = 256 colors and you need something like 16bit, 24bit or 32bit colors than you need to find a library that handles that amount. Unless your drawing pictures, 256 colors is probably more than enough. The java 2d library supports 32bit colors. 8bits for red 8 bits for green and 8 bits for blue = 32bit RGB.

If you want CYMK, that's a whole other story.

5. Jan 8, 2006

### NorrisP

please can you suggest me library ?

6. Jan 8, 2006

### dduardo

Staff Emeritus
Last edited by a moderator: May 2, 2017
7. Jan 8, 2006

### NorrisP

thank you a lot