How to C#: Imaging
Using Imaging SDK for C#.NET
Winforms Controls
Image Load
Image Access and Modify
Color Palette Edit
Color Palette Edit
Home ›› XImage.Raster ›› C# Raster: Color Palette Edit

C# Raster - Modify Image Palette in C#.NET

Explain How to Modify Image palette in Visual C#.NET Application

Related .net document control helps: pdf document viewer: ASP.NET PDF Document Viewer in C#: open, display, view, annotate, redact Adobe PDF files online in ASP.NET MVC & WebForm... ppt viewer: ASP.NET PowerPoint Document Viewer Control (MVC & WebForms): view ppt, pptx files online in C# using ASP.NET pdf page: ASP.NET PDF Pages Edit Control: add, remove, sort, replace PDF pages online using C# excel web viewer: ASP.NET Excel Viewer in C# Control (MVC & WebForms): view Office Excel document in web browser.
sharepoint document viewer: ASP.NET SharePoint Document Viewer: view, annotate, redact documents in SharePoint edit pdf image: ASP.NET PDF Image Edit Control: online insert, edit PDF images in C# image viewer zoom: ASP.NET Image Viewer Control(MVC & WebForms): view, annotate, redact, convert image files in html, JQuery


This is a batch of data indicating the number of colors, consisting of a series of array 2^n. The property is used to reduce the size of the picture, especially in black and white picture.

Note: if the image itself does not contain palette Color then we will not support the palette color, which has a lot of image formats that are not supported by palette. color, such as JPEG.

Modify the Image Palette

The property palette can be modified by assigning it to the processor. You can set or get the processor property as follow:

RasterImage img = new RasterImage(@input.png);
ImageProcess processor = new ImageProcess(img);
//Get the images color palette
ColorPalette processor = process.Palette;