Converting Pixel Formats
Demonstrates how to convert an image between different pixel formats (RGB, CMYK, indexed, black-white, extended precision per channel). Creates indexed PNG images optimized for web. Adds alpha channel to a bitmap.
Download TrialTo run this sample in Visual Studio, install the Graphics Mill trial and open the Aurigma.GraphicsMill.sln solution in the Samples folder. Find the sample in this project:
E. Color Management → E.01. Converting Pixel Formats
cmyk+4color management+8convert colors+3grayscale+2indexed+4palette+3rgb+3web optimization+5
Code snippet
Loading from GitHub..