my dog learned polymorphism*
The moose likes Java in General and the fly likes Displaying a colour scale Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Displaying a colour scale" Watch "Displaying a colour scale" New topic
Author

Displaying a colour scale

amarnath srinivasan
Greenhorn

Joined: Mar 28, 2005
Posts: 2
Hi I have an intensity matrix and would like to display it as a image. To start with i thoght I will use the following matrix to try displaying all colour in a self generated color scale. The displayed image has only four colors(blue, green, magenta and orange). Can somebody tell me why?

Also please let me know if there are predefined color mappings in java.



amarnath srinivasan
 
 
subject: Displaying a colour scale
 
Similar Threads
Paint
Why can't I use getScaledInstance to scale images?
topic is on images
Help with Scrollable Image please...
Label in a field or scrollpanel