Convert any image to PCTs
Drag and drop or click to select.
Private and secure
Everything happens in your browser. Your files never touch our servers.
Blazing fast
No uploading, no waiting. Convert the moment you drop a file.
Actually free
No account required. No hidden costs. No file size tricks.
What is the PCT format?
Apple Macintosh QuickDraw/PICT
The PCT image format, also known as Macintosh PICT format, is a graphics file format that was predominantly used on Macintosh computers. It was originally designed as a metafile format in the 1980s, which means it could contain both bitmap and vector data. This versatility made it a popular choice for storing and transferring a wide range of graphic types, from simple illustrations to complex images. The PCT format was developed by Apple Inc. to facilitate the transfer of graphics between different applications and to serve as a graphics dump format for the QuickDraw graphics library, which was the basis for the graphical user interface of early Macintosh operating systems.
The PCT format is unique in that it can store both vector and bitmap information. Vector graphics are made up of paths defined by mathematical equations, which makes them scalable without loss of quality. Bitmap graphics, on the other hand, are composed of pixels, which can result in loss of detail when scaled up. By combining these two types of data, PCT files could efficiently store complex images such as illustrations with text, line art, and photographic elements, while maintaining the ability to scale certain parts of the image without degradation.
PCT files are structured in a way that they begin with a 512-byte header, which is typically filled with zeros and not used by the PICT format itself. This is followed by the PICT file header, which includes important information such as the version number and the size of the image. The header is succeeded by the image data, which is composed of opcodes (operation codes) that dictate how the image is to be rendered. These opcodes can define lines, shapes, colors, and other graphic elements, as well as bitmap data for raster images.
There are two main versions of the PCT format: PICT1 and PICT2. PICT1 is the original version that supports basic drawing commands and a limited number of colors. PICT2, introduced with the Macintosh II, added support for more sophisticated imaging capabilities, such as 24-bit color, gradients, and JPEG compression. PICT2 also introduced the concept of 'regions' which allowed for more complex clipping operations, where only certain parts of the image would be drawn, based on the defined region.
One of the key features of the PCT format is its ability to compress image data. PCT files use RLE (Run-Length Encoding), a simple form of data compression where sequences of the same data value are stored as a single value and count, rather than as the original run. This is particularly effective for images with large areas of uniform color. PICT2 enhanced this capability by supporting JPEG compression, which is more efficient for compressing photographic images.
The PCT format also includes a number of other features that were advanced for its time. It supports multiple resolutions, which means that an image can be rendered at different levels of detail depending on the output device's capabilities. This is particularly useful when the same image is to be displayed on both a screen and a printer, which typically have very different resolution requirements. Additionally, PCT files can contain a preview image, which is a small bitmap representation of the vector data. This allows applications to quickly display a thumbnail of the image without having to render the entire vector graphic.
Despite its capabilities, the PCT format has several limitations. One of the most significant is its lack of support for transparency. Unlike formats such as GIF and PNG, PCT does not allow for the creation of images with transparent backgrounds or semi-transparent elements. This limitation can be problematic when layering images or when an image needs to be placed over a background of varying colors or patterns.
Another limitation of the PCT format is its platform dependency. PCT was designed for the Macintosh operating system and QuickDraw, which means that it is not natively supported on other platforms. While there are third-party tools and libraries that can read and write PCT files on Windows and other operating systems, the format never gained widespread adoption outside the Macintosh community. This has led to compatibility issues, especially as the use of Macintosh-specific software has declined over time.
The PCT format also has security concerns. In the past, vulnerabilities have been discovered in the way some applications handle PCT files, which could potentially allow for the execution of malicious code. This is a common issue with many file formats, where complexity and backward compatibility can lead to security oversights. As a result, some modern applications have dropped support for the PCT format, or they handle it in a more secure, sandboxed environment.
In terms of file extension, PCT files are typically saved with the '.pct' or '.pict' extension. However, due to the case-insensitive nature of the Macintosh file system, these extensions are interchangeable. When transferring PCT files to systems with case-sensitive file systems, such as Linux, care must be taken to maintain the correct file extension for compatibility purposes.
The PCT format has largely been superseded by more modern image formats like PNG, JPEG, and SVG. These formats offer better compression, wider platform support, and additional features such as transparency and animation. However, PCT files are still in use within certain legacy systems and applications, particularly those that were designed for older Macintosh operating systems. For this reason, understanding the PCT format can be important when dealing with archival graphic materials or when interfacing with older Macintosh software.
For developers and users working with PCT files, there are a number of tools available to view, convert, and edit these images. GraphicConverter is a popular Macintosh application that can handle PCT files among many other formats. Adobe Photoshop also has the capability to open and convert PCT files, although newer versions may have dropped support due to the format's declining relevance. There are also several online tools that allow users to convert PCT files to more common formats like JPEG or PNG.
In the realm of programming, libraries such as ImageMagick and the Python Imaging Library (PIL) can be used to manipulate PCT files programmatically. These libraries provide functions to read, write, and convert PCT files, as well as to perform image processing tasks. However, developers should be aware that support for PCT files in these libraries may be limited compared to more modern formats, and additional effort may be required to handle PCT files correctly.
In conclusion, the PCT image format played a significant role in the early days of Macintosh computing, providing a flexible and powerful way to store and manipulate graphics. While it has been largely replaced by newer formats, its legacy continues in the form of legacy content and applications that still rely on this once ubiquitous format. Understanding the technical aspects of PCT, from its structure and capabilities to its limitations and security concerns, is essential for professionals who may encounter this format in archival work or when interacting with older Macintosh systems.
Supported formats
AAI.aai
AAI Dune image
AI.ai
Adobe Illustrator CS2
AVIF.avif
AV1 Image File Format
BAYER.bayer
Raw Bayer Image
BMP.bmp
Microsoft Windows bitmap image
CIN.cin
Cineon Image File
CLIP.clip
Image Clip Mask
CMYK.cmyk
Raw cyan, magenta, yellow, and black samples
CUR.cur
Microsoft icon
DCX.dcx
ZSoft IBM PC multi-page Paintbrush
DDS.dds
Microsoft DirectDraw Surface
DPX.dpx
SMTPE 268M-2003 (DPX 2.0) image
DXT1.dxt1
Microsoft DirectDraw Surface
EPDF.epdf
Encapsulated Portable Document Format
EPI.epi
Adobe Encapsulated PostScript Interchange format
EPS.eps
Adobe Encapsulated PostScript
EPSF.epsf
Adobe Encapsulated PostScript
EPSI.epsi
Adobe Encapsulated PostScript Interchange format
EPT.ept
Encapsulated PostScript with TIFF preview
EPT2.ept2
Encapsulated PostScript Level II with TIFF preview
EXR.exr
High dynamic-range (HDR) image
FF.ff
Farbfeld
FITS.fits
Flexible Image Transport System
GIF.gif
CompuServe graphics interchange format
HDR.hdr
High Dynamic Range image
HEIC.heic
High Efficiency Image Container
HRZ.hrz
Slow Scan TeleVision
ICO.ico
Microsoft icon
ICON.icon
Microsoft icon
J2C.j2c
JPEG-2000 codestream
J2K.j2k
JPEG-2000 codestream
JNG.jng
JPEG Network Graphics
JP2.jp2
JPEG-2000 File Format Syntax
JPE.jpe
Joint Photographic Experts Group JFIF format
JPEG.jpeg
Joint Photographic Experts Group JFIF format
JPG.jpg
Joint Photographic Experts Group JFIF format
JPM.jpm
JPEG-2000 File Format Syntax
JPS.jps
Joint Photographic Experts Group JPS format
JPT.jpt
JPEG-2000 File Format Syntax
JXL.jxl
JPEG XL image
MAP.map
Multi-resolution Seamless Image Database (MrSID)
MAT.mat
MATLAB level 5 image format
PAL.pal
Palm pixmap
PALM.palm
Palm pixmap
PAM.pam
Common 2-dimensional bitmap format
PBM.pbm
Portable bitmap format (black and white)
PCD.pcd
Photo CD
PCT.pct
Apple Macintosh QuickDraw/PICT
PCX.pcx
ZSoft IBM PC Paintbrush
PDB.pdb
Palm Database ImageViewer Format
PDF.pdf
Portable Document Format
PDFA.pdfa
Portable Document Archive Format
PFM.pfm
Portable float format
PGM.pgm
Portable graymap format (gray scale)
PGX.pgx
JPEG 2000 uncompressed format
PICT.pict
Apple Macintosh QuickDraw/PICT
PJPEG.pjpeg
Joint Photographic Experts Group JFIF format
PNG.png
Portable Network Graphics
PNG00.png00
PNG inheriting bit-depth, color-type from original image
PNG24.png24
Opaque or binary transparent 24-bit RGB (zlib 1.2.11)
PNG32.png32
Opaque or binary transparent 32-bit RGBA
PNG48.png48
Opaque or binary transparent 48-bit RGB
PNG64.png64
Opaque or binary transparent 64-bit RGBA
PNG8.png8
Opaque or binary transparent 8-bit indexed
PNM.pnm
Portable anymap
PPM.ppm
Portable pixmap format (color)
PS.ps
Adobe PostScript file
PSB.psb
Adobe Large Document Format
PSD.psd
Adobe Photoshop bitmap
RGB.rgb
Raw red, green, and blue samples
RGBA.rgba
Raw red, green, blue, and alpha samples
RGBO.rgbo
Raw red, green, blue, and opacity samples
SIX.six
DEC SIXEL Graphics Format
SUN.sun
Sun Rasterfile
SVG.svg
Scalable Vector Graphics
TIFF.tiff
Tagged Image File Format
VDA.vda
Truevision Targa image
VIPS.vips
VIPS image
WBMP.wbmp
Wireless Bitmap (level 0) image
WEBP.webp
WebP Image Format
YUV.yuv
CCIR 601 4:1:1 or 4:2:2
Frequently asked questions
How does this work?
This converter runs entirely in your browser. When you select a file, it is read into memory and converted to the selected format. You can then download the converted file.
How long does it take to convert a file?
Conversions start instantly, and most files are converted in under a second. Larger files may take longer.
What happens to my files?
Your files are never uploaded to our servers. They are converted in your browser, and the converted file is then downloaded. We never see your files.
What file types can I convert?
We support converting between all image formats, including JPEG, PNG, GIF, WebP, SVG, BMP, TIFF, and more.
How much does this cost?
This converter is completely free, and will always be free. Because it runs in your browser, we don't have to pay for servers, so we don't need to charge you.
Can I convert multiple files at once?
Yes! You can convert as many files as you want at once. Just select multiple files when you add them.