Meet us at PRINT 19. Chicago, IL. Oct. 3 - 5.
This documentation is for the old version. Go to the latest Graphics Mill docs

PCX File Format

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.

Format Name

PCX

MIME Type

image/pcx

File Extensions

*.pcx

Supported Pixel Formats

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

Examples

This code example demonstrates how to convert PCX files to another format.

Visual Basic
Dim bitmap As New Aurigma.GraphicsMill.Bitmap("C:\Mountain.pcx")

bitmap.Save("C:\Mountain.bmp", New Aurigma.GraphicsMill.Codecs.BmpEncoderOptions)

bitmap.Dispose()
C#
using (Aurigma.GraphicsMill.Bitmap bitmap = 
           new Aurigma.GraphicsMill.Bitmap(@"C:\Mountain.pcx"))
{
    bitmap.Save(@"C:\Mountain.bmp", 
        new Aurigma.GraphicsMill.Codecs.BmpEncoderOptions());
}