color-palette

How to convert a 32bpp image to an indexed format?

So here are the details (I am using C# BTW): I receive a 32bpp image (JPEG compressed) from a server. At some point, I would like to use the Palette property of a bitmap to color over-saturated pixels (brightness > 240) red. To do so, I need to get the image into an indexed format. I have tried converting the image to a GIF, but I ...

How to continuously fade a BitmapData to a certain color?

I'm drawing stuff on a bitmapData and I need to continuously fade every pixel to 0x808080 while still drawing (its for a DisplacementMapFilter)... I think this illustrates my problem: http://www.ventdaval.com/lab/grey.swf The simpler approach I tried was drawing a semi-transparent grey box on it, but it never reaches a single color (i....

Determine the colours used by the ASP.NET Chart control

I'd like to find out which colours are used for a particular pallette in the ASP.NET Chart control. I already know there is an enum on the Chart class to set the palette, e.g. myChart.Palette = ChartColorPalette.Berry; But I'd like to know which colours belong to the palette. Before anyone asks - as I know you will - the reason I ne...

Does the colour quality of a VM affect it's performance?

If you have a remote connection or a screenshare or whatever system where you're using a machine to look at another desktop on another machine, does the amount of colours affect the performance? I'm not sure how Citrix VM vs Mikogo vs UltraVNC work with displaying information, but I've always guessed it's a combination of sending mouse ...

Creating colour schemes based on an existing scheme

I have a colour scheme based around yellow, for warning messages on a website. It amounts to a slightly orange bordered box, with a pale yellow fill. The exact colours are: #FED626 (border) #FFF7C0 (fill) I want to know if it's possible to convert this scheme mathematically or algorithmically somehow, to come up with a blue version...

Is there a tool out there that lets you print a colour chart / palette of colours used on a web page?

I want to print a table of the colours used in a web page that my graphic designer has produced - I have .png files at present and use Fireworks to view them. It would be great if there was a tool that lets you print a table with the colour and hex value so I can easily reference when programming. Anyone come across such a thing? Sounds...

Generation of 8 bit palette from png file via Python

Hello, What would be the best python based library for generating 8-bit palette from the given .png file. As in photoshop generating under .pal format. PS: Input PNG is already in 8 bit format. (paletted) Regards ...

drawing rainbow palettes

I have a 8-bit color palette, therefore I am having 256 colors. The palette is basically an array of [256 * 3] {r, g, b} values, Now I need to draw a color spectrum out of it. So basically I have to select 256 out of total 256*256*256 values possible which would enable me to draw the rainbow as closely as possible. Similar questions he...

What's the best way to analyse the colours in an image (Java)?

Hi guys, I don't have much experience doing image analysis so I thought I'd ask more enlightened individuals :) Basically what I want to do is analyse an image and work out what the most common colours are (these will be averages obviously). Does anybody know of an effective way to do this? If at all possible I'd like to avoid using an...

Colorization and Palette Best-Fit Algorithms

Been poking around google and haven't found any like what I'm after. so what is it I'm after? well two things: firstly I'm looking for an algorithm/pseudo-code/white-papers to determine a best-fit color for a give r,g,b tuple from and array of 256 RGB tuples. Secondly, I'm looking for an algorithm/pseudo-code/white-papers to recolor a...

How can I extract the palette from a 5-6-5 bitmap image?

I am trying to extract the palette from a 5-6-5 (16bit) bitmap image that I have produced using ImageConverter Plus from an original Photoshop file. I need to read out the palette and compare it to the palette I have elsewhere for another image. Is there a piece of freeware (or not) software that can do this? I can read palette files i...

Good palette for charting

I'm creating an application that works with charts. There are lots of charts in it, so I need lots of colors. It turned out it's a problem to find a good palette. In my case good palette is the one that satisfies following conditions: 1. There no colors that are similar to white, because the background is similar to white. 2. Neighbor co...