什么是 PCX?图像交换格式解析

PCX(图像交换)是1985年ZSoft为PC Paintbrush开发的早期光栅图像格式,使用行程长度编码压缩。

免费在线文件转换工具。在 Windows、macOS、Linux、Android 和 iOS 上的 Chrome、Firefox、Safari、Edge、Opera 及其他现代浏览器中运行。无需安装软件或注册。所有转换都直接在您的浏览器中进行,因此您的文件不会离开您的设备。免费使用,无需账户。

Image

什么是 PCX?图像交换格式解析

ZSoft 的 PC Paintbrush 中早期 DOS 时代的光栅格式,使用行程长度编码压缩。

最后更新:

Year1985
TypeRaster image
UsageLegacy DOS-era graphics

What is it?

PCX, short for PiCture eXchange, is a raster image file format developed by the now-defunct ZSoft Corporation of Marietta, Georgia. ZSoft introduced it in 1985 as the native format for its PC Paintbrush program, and it became one of the first widely accepted DOS imaging standards.

A PCX file consists of a 128-byte header describing dimensions, color planes, and palette information, followed by image data compressed with a simple byte-wise run-length encoding (RLE) scheme. In the RLE method, the two most significant bits of a byte signal whether it is a run-length count or a literal pixel value, allowing repeated pixels to be stored compactly.

Technical Specifications

DeveloperZSoft Corporation
File Extension.pcx
MIME Typeimage/x-pcx (also image/vnd.zbrush.pcx)
Released1985
CompressionRun-length encoding (RLE), lossless

Pros & Cons

Advantages

无损 RLE 压缩

PCX applies simple run-length encoding that reduces file size on images with runs of identical pixels without discarding data.

简单、文档齐全的结构

Its fixed header and straightforward RLE scheme make PCX easy to parse and implement.

历史上无处不在

As an early DOS standard, PCX was supported by a wide range of legacy graphics and paint software.

调色板支持

The format handles indexed-color images with embedded palettes as well as multi-plane color data.

Disadvantages

基本上过时

PCX has been superseded by formats such as BMP, JPEG, and PNG and is rarely used in modern workflows.

压缩效果差

Its byte-wise RLE is ineffective on complex or photographic images, where it can offer little size benefit.

现代支持有限

Many contemporary applications no longer read or write PCX without specialized tools.

When to Use It

PCX is encountered mainly when working with legacy DOS-era graphics.

遗留文件恢复

PCX support is needed to open images created by older PC Paintbrush and DOS applications.

复古和档案图形

The format appears in archives of vintage software, clip art, and game assets.

简单的索引图像

PCX can still serve as a straightforward container for palette-based images with run-length compression.

如何打开 PCX 文件

PCX 文件是由 ZSoft 为基于 DOS 的系统开发的遗留图像格式,受到各种软件工具的支持,以满足不同用户的需求。专业级应用程序提供广泛的编辑能力,而免费和开源选项则提供基本的查看和编辑功能。基于浏览器的工具方便快速访问,无需安装,而内置系统工具可能提供对查看 PCX 文件的最小支持。

在选择 PCX 软件时,请考虑功能保真度、编辑和查看能力之间的区别以及成本模型。用户可能会优先考虑平台兼容性和导出到现代格式的能力,因为将 PCX 文件转换为更广泛使用的格式可能是必要的,以便更广泛的可用性。了解编辑与简单查看的具体需求也可以指导选择最合适的应用程序。

Adobe Photoshop 2024

Windows, macOS订阅

Adobe Photoshop 是领先的图像编辑软件,支持 PCX 文件的查看和编辑。它在处理 PCX 图形时提供高保真度,允许用户精确操作图像并以各种格式保存。

主要功能
  • 高级图层和蒙版编辑
  • 支持 16 位颜色深度
  • 广泛的滤镜和效果选项
  • 矢量形状工具和智能对象
  • 批处理能力
优点
  • 全面的 PCX 编辑工具
  • 高保真度和颜色准确性
  • 图形设计行业标准
局限
  • 订阅模型可能成本高
  • 初学者可能会被复杂的界面压倒

可导出为: PNG, JPG, TIFF, PDF, BMP

适合: 选择 Adobe Photoshop 进行专业级的 PCX 文件编辑,具有广泛的功能。

访问 Adobe Photoshop →

GIMP 2.10.34

Windows, macOS, Linux免费 (GPL)

GIMP 是一个强大的开源图像编辑器,支持 PCX 文件,允许用户有效地查看和编辑图像。它提供与商业软件相当的功能,使其成为需要灵活性而不花费的用户的可靠选择。

主要功能
  • 图层和蒙版支持
  • 可自定义的画笔和工具
  • 图像操作和修饰
  • 可用 Python 脚本化
  • 支持多种颜色模式
优点
  • 完全免费和开源
  • 强大的社区支持和插件
  • 跨平台兼容性
局限
  • 新用户学习曲线较陡
  • 在大文件上偶尔出现性能问题

可导出为: PNG, JPG, TIFF, GIF, BMP

适合: GIMP 非常适合寻找免费、多功能工具的用户,用于编辑 PCX 文件而不牺牲功能。

访问 GIMP →

IrfanView 4.60

Windows免费 / 付费

IrfanView 是一个轻量级媒体播放器,支持 PCX 文件,主要专注于快速查看和基本编辑。它特别适合需要快速高效处理 PCX 图像的用户,而无需广泛的编辑能力。

主要功能
  • 图像格式的批量转换
  • 基本编辑工具,如裁剪
  • 幻灯片创建功能
  • 支持插件以扩展功能
  • 多语言支持
优点
  • 快速且轻量的应用程序
  • 适合快速任务的易用性
  • 批处理能力
局限
  • 高级编辑功能有限
  • 仅限 Windows 平台

可导出为: PNG, JPG, BMP, GIF, TIFF

适合: IrfanView 非常适合需要快速高效查看 PCX 文件的用户,具有基本编辑选项。

访问 IrfanView →

XnView MP 1.00

Windows, macOS, Linux免费 / 付费

XnView MP 是一个多功能媒体查看器和转换器,支持 PCX 文件,提供查看和基本编辑之间的平衡。它非常适合需要跨平台解决方案来管理和转换图像的用户。

主要功能
  • 多格式图像查看
  • 基本编辑工具,如调整大小
  • 批量转换和重命名
  • 元数据编辑能力
  • 幻灯片和屏幕捕获功能
优点
  • 支持广泛的格式
  • 跨平台可用性
  • 用户友好的界面
局限
  • 高级编辑功能有限
  • 某些功能需要付费版本

可导出为: PNG, JPG, TIFF, BMP, GIF

适合: XnView MP 是需要全面查看和转换 PCX 文件的用户的绝佳选择,适用于多个平台。

访问 XnView MP →

Convert PCX Files Free

Use our free online image converter to convert PCX and other formats - no signup, no watermarks.

Try Image Converter Free

References

  1. PiCture eXchange (PCX) - Library of Congress
  2. PCX - Wikipedia
  3. PCX - Just Solve the File Format Problem