Flux rss

PCX format

PCX format

The PCX format was developed by ZSoft, publishing the PaintBrush software which Microsoft Windows operating systems were equipped with in a standard way as from the eighties.

The PCX format is a bitmap format that allows images, whose dimensions may range up to 65536 by 65536 and which may be coded on 1 bit, 4 bits, 8 bits or 24 bits (corresponding to 2, 16, 256 or 16 million colours respectively).

The structure of a PCX file is the following:

  • A bitmap information header) with a length of 128 bytes
  • The image body
  • Information
  • Colour palette (optional). This is a field of 768 bytes allowing the various values of red, green and blue (RGB) for each palette element to be stored.

Bitmap information header

The bitmap information header provides information on the image, particularly its dimensions and its colours.

The bitmap information header comprises the following fields:

  • The file signature (on one byte), allowing the file type to be identified. The hexadecimal value 0A indicates a PCX file.
  • The version (on one byte):
    • 0= Version 2.5
    • 2= Version 2.8 with palette
    • 3= Version 2.8 without palette
    • 5= Version 3.0
  • The format (on one byte), that is, the encoding method used. A value of 1 indicates RLE encoding.
  • The number of bits per pixel per plane (on one byte)
  • Xmin (on two bytes), the X-coordinate of the upper left hand corner
  • Ymin (on two bytes), the Y-coordinate of the upper left hand corner
  • Xmax (on two bytes), the X-coordinate of the lower right hand corner
  • Ymax (on two bytes), the Y-coordinate of the lower right hand corner
  • The horizontal resolution (on two bytes)
  • The vertical resolution (on two bytes)
  • The palette (on 48 bytes)
  • Reserved (on one byte)
  • Number of colour planes (on a byte)
  • Number of bits per line (on 2 bytes)
  • Type of palette (on 2 bytes)
  • Filling (58 bytes)
It is interesting to note that "Xmax - Xmin + 1" represents the width of the image and that "Ymax - Ymin + 1" represents the height of the same.

Image coding

The coding of the image is done by writing the bits corresponding to each pixel successively, line by line, starting with the pixel in the upper left hand corner and then continuing from left to right and from top to bottom.

Last update on Thursday October 16, 2008 02:43:16 PM.

This document entitled « PCX format » from Kioskea (en.kioskea.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the licence, as this note appears clearly.

Results for PCX format

Download PaintStudio Lite PaintStudio is an editor and a slide viewer of pictures. It supports several formats of pictures notably Bitmap (*.bmp), JPEG (*.jpg, *.jpeg), GIF (*.GIF), PNG-8 and 24 (*.png), TARGA (*.tga), PCX (*.pcx), Windows Icons (*.ico), Win32 Enhanced... en.kioskea.net/telecharger/telecharger-417-paintstudio-lite
Download Posters Posters is a software able to transform and iimport which image of formats BMP, WMF, PCX, HAIR, GIF, JPG, png, in a poster of big size immediately ready to be printed. The software uses to the maximum the capacities of your printer (color or not) and... en.kioskea.net/telecharger/telecharger-1728-posters
Download VCW VicMan\'s Photo Editor VCW VicMan's Photo Editor is a photo editor professional. It offers many tools and functions: pencil, brush, gradient, picker, lasso, distortion, blur, contrast and so on. The application manages over 30 image formats: JPG, GIF, BMP, TIFF, PCX, TGA,... en.kioskea.net/telecharger/telecharger-1066-vcw-vicman-s-photo-editor

Results for PCX format

Formatting Your Hard DriveFormatting Your Hard Drive Formatting and installing your Hard drive using the installation CD ] A hard disk drive is a non-volatile device mainly for data storage. Usually faster than any other storage device, this essential... en.kioskea.net/faq/sujet-194-formatting-your-hard-drive
Formatting your Flashdisk (USB Key )Formatting your Flashdisk (USB Key) How to format your USB Key? It is compulsory to format your USB Key regularly if you are frequently performing File transfer to one computer to another. Your computer can get infected with potential... en.kioskea.net/faq/sujet-186-formatting-your-flashdisk-usb-key
Formatting your drive with Fat32Formatting your drive with Fat32 Windows XP normally refuse to format a partition higher than 40 GB with FAT32. however this operation performs properly with NTFS The solution for this issue is to boot your installation CD and use the... en.kioskea.net/faq/sujet-676-formatting-your-drive-with-fat32

Results for PCX format

WD My Book formattin (Solved)Hello, I bought a 1TB Western Digital My Book External Hard Drive, I need to format it to become Mac OS Extended (Journaled) but I am having a problem doing this, I keep receiving the same error message "file system verify or repair failed" It will... en.kioskea.net/forum/affich-4848-wd-my-book-formattin
Outlook issue with HTML form (Solved)Hello, I have a small website with a very simple HTML form that allows user to send his data; then the webmaster receives an email with the data included in the form. My problem is that, when ever Outlook is set up on a machine, the email button open... en.kioskea.net/forum/affich-247-outlook-issue-with-html-form
Excel Date Format (Solved)Hello, when users enter a date in excel using this format 12.1.2008, i need the cell to automatically change the format to 12-Jan-08 thanks, moses en.kioskea.net/forum/affich-19164-excel-date-format

Results for PCX format

Download PicPerkPicPerk is an editor and a slide viewer of very popular picture. It supports the most part of the graphic formats such as JPEG, GIF, TIFF, BMP, PCX, WMF and TGA.Application allows to open files specific pictures, but also to view and to edit files... en.kioskea.net/telecharger/telecharger-716-picperk
Download HDD Low Level Format ToolIt is administrator's free application of hard disk. It is quick and easy to use. He allows to format and of partition discs including flash.It supports discs: SATA, IDE, S-ATA (SATA), IDE (E-IDE), SCSI, USB, FIREWIRE, LBA-48 and even the external... en.kioskea.net/telecharger/telecharger-815-hdd-low-level-format-tool
Download HP USB Disk Storage Format ToolHP USB Disk Storage Format Tool is a small utility allowing to format a key USB or READER MP4. It also allows to make a key (Bootable). This software works with all keys and readers MP4 of the market. To make work this utility under Windows... en.kioskea.net/telecharger/telecharger-127-hp-usb-disk-storage-format-tool

Results for PCX format

Blu-Ray crushing rival DVD format in Japan: studyBlu-ray discs are on display at the 2008 Consumer Electronics Show (CES) in Las Vegas, Nevada, 09 January 2008. Next-generation DVDs are catching on with Japanese consumers, with sales picking up sharply at the end of 2007 and the Blu-Ray format... en.kioskea.net/actualites/blu-ray-crushing-rival-dvd-format-in-japan-study-10002-actualite.php3

Results for PCX format

Formatting a hard disk Before trying to understand formatting, you first need to understand how a hard drive works. Many people do not distinguish low-level formatting (also called physical formatting) from high-level formatting (also called logical formatting). Even... en.kioskea.net/repar/format.php3
Video and digital imaging - The GIF format The GIF format (Graphic Interchange Format) is a bitmap (raster) graphic file format developed by Compuserve. There are two versions of this file format developed respectively in 1987 and 1989: GIF 87a supporting LZW compression, interlacing... en.kioskea.net/video/format-gif.php3
Video and digital imaging - The TIF format The TIF format (Tagged Image File Format) is a bitmap (raster) graphic file format. It was developed in 1987 by Aldus (now belonging to Adobe). The latest specifications (Revision 6.0) were published in 1992. The TIFF format is an old graphic... en.kioskea.net/video/format-tif.php3