This image format is developed by ZSoft Corporation. Data of this format is compressed using the Run-Length-Encoding (RLE) type compression. PCX format supports palette-based and 24-bit RGB images.
Graphics Mill for .NET can only read these files, but cannot save.
PCX
image/pcx
*.pcx
Description | Read | Write |
---|---|---|
1 bit palette-based | Yes | No |
4 bit palette-based | Yes | No |
8 bit palette-based | Yes | No |
24 bit RGB | Yes | No |
This code example demonstrates how to convert PCX files to another format.
Dim bitmap As New Aurigma.GraphicsMill.Bitmap("C:\Mountain.pcx") bitmap.Save("C:\Mountain.bmp", New Aurigma.GraphicsMill.Codecs.BmpEncoderOptions) bitmap.Dispose()
using (Aurigma.GraphicsMill.Bitmap bitmap = new Aurigma.GraphicsMill.Bitmap(@"C:\Mountain.pcx")) { bitmap.Save(@"C:\Mountain.bmp", new Aurigma.GraphicsMill.Codecs.BmpEncoderOptions()); }