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 editor using c#: EdgePDF: ASP.NET PDF Editor Web Control: Online view, annotate, redact, edit, process, convert PDF documents edit pdf image using c#: ASP.NET PDF Image Edit Control: online insert, edit PDF images in C#
c# webforms document viewer: ASP.NET WebForms application document viewer control: view, annotate, redact, convert files online in ASP.NET
view file View multiple document formats in ASP.NET, MVC, Ajax, Azure using C# control
c# image viewer: ASP.NET Image Document Viewer Control: view, annotate, redact, convert image files in html web browser document viewer in c#: EdgeDoc ASP.NET Document Viewer C# Control: Open, view, annotate, redact, convert documents online using ASP.NET Web Con...
c# document redaction: Redact document ASP.NET: add, delete, apply redaction on PDF files in web browser using


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;