Free webp to jpg
PICT

Apple PICT Image

image/x-pict Released 1984 · by Apple Computer, Inc.

The image/x-pict MIME type represents the PICT image format, introduced by Apple Computer in 1984 as the native graphics format for the original Macintosh and its QuickDraw API. As a "metafile" format, PICT files can contain both bitmap (raster) and object-oriented (vector) graphic data within the same file. It was heavily utilized in classic Mac OS for clipboard operations, desktop publishing, and digital art. With the transition to Mac OS X, Apple deprecated the QuickDraw API and replaced PICT with PDF as the operating system's native metafile format, rendering PICT completely obsolete today.

Legacy & Metafile Graphics Transparency Production Ready

Technical Specifications

MIME Type
image/x-pict
Extensions
.pict.pct.pic
Container
QuickDraw Metafile
Compression
Uncompressed & Run-Length Encoding (RLE) & QuickTime Compressors (JPEG, SMC)
Algorithms
Apple PackBits (RLE)QuickTime Image Compression Manager (ICM)
Color Depth
1-bit, 2-bit, 4-bit, 8-bit (Indexed), 16-bit (High Color), 24-bit (True Color), 32-bit (RGBA)
Metadata
None
Capabilities
Transparency
Animation
Progressive Loading
Alpha Channel
HDR Support
Official Specification
Aliases: image/pictimage/macpictapplication/pict

Magic Bytes & HTTP Headers

File Signature (Magic Bytes)
None (Requires offset parsing, e.g., 00 11 02 FF at byte 522)
ASCII: None
HTTP Headers
Content-Type: image/x-pict
Content-Type: image/pict
HTML Accept Attribute
accept="image/x-pict, .pict, .pct, .pic"

Browser Support Matrix

Browser Status Min Version
Chrome Chrome
Not Supported
Firefox Firefox
Not Supported
Safari Safari
Not Supported
Edge Edge
Not Supported
Internet Explorer Internet Explorer
Not Supported Legacy

Advantages & Limitations

Advantages
  • Incredibly versatile for its time, allowing a single file to cleanly scale text and vector shapes while simultaneously housing raster photos
  • Served as the flawless universal clipboard format for the classic Mac OS, enabling seamless copy/pasting between wildly different applications
Limitations
  • Deeply tied to Apple's legacy QuickDraw graphics architecture, making it exceptionally difficult to write accurate third-party parsers on modern operating systems
  • Lack of a standard magic header makes file detection unreliable without seeking 522 bytes deep into the file
  • Completely unsupported in modern web environments and discontinued by Apple itself

Developer Code Snippets

import magic
# Libmagic can often detect PICT files by analyzing the version opcodes after the 512-byte header
print(magic.from_file('vintage.pict', mime=True)) # Outputs 'image/x-pict'
const fs = require('fs');
// Manually sniffing for the PICT Version 2 opcode at offset 522
const buffer = Buffer.alloc(6);
const fd = fs.openSync('vintage.pict', 'r');
fs.readSync(fd, buffer, 0, 6, 522); // Skip the 512 byte header + 2 byte size + 8 byte bounding box
fs.closeSync(fd);
const isPICTv2 = buffer[0] === 0x00 && buffer[1] === 0x11 && buffer[2] === 0x02 && buffer[3] === 0xFF;
console.log('Is Apple PICT (v2):', isPICTv2);
import (
    "bytes"
    "net/http"
    "strings"
)
// Native Go HTTP detection will not recognize PICT (returns application/octet-stream).
// You must explicitly check the extension or write a custom parser for the 522-byte offset.
// isPICT := strings.HasSuffix(strings.ToLower(filename), ".pct") || strings.HasSuffix(strings.ToLower(filename), ".pict")
$mime = mime_content_type('vintage.pict');
echo $mime; // Standard PHP setups will likely return 'image/x-pict' if the magic database is up to date

File Detection Steps

How to programmatically detect a image/x-pict file by reading its raw bytes:

  1. 1 PICT files are notoriously difficult to detect programmatically because they do not have a standard magic byte sequence at the very beginning of the file.
  2. 2 A standard PICT file begins with a 512-byte header that was historically reserved for application-specific data and is usually padded entirely with zeroes.
  3. 3 The actual QuickDraw data begins at byte 512. Bytes 512-513 represent the file size (often ignored or inaccurate in Version 2). Bytes 514-521 define the picture's bounding box.
  4. 4 To verify a PICT file, parsers typically look at byte 522. A Version 1 PICT will have the opcode '11 01' (Hex). A Version 2 PICT will have the opcode '00 11 02 FF 0C 00' (Hex).

Software Support

G
GraphicConverter (macOS)
X
XnView
ImageMagick ImageMagick
C
CorelDRAW (Legacy import)

Conversion Tools

Share & Embed

Markdown Badge
PICT Format Badge
[![PICT Format](https://freewebptojpg.com/mime/image/pict/badge.svg)](https://freewebptojpg.com/mime/image/pict)
Interactive iframe Widget
<iframe src="https://freewebptojpg.com/mime/image/pict/embed" width="100%" height="280" style="border:1px solid #cbd5e1;border-radius:8px;" title="PICT Specs"></iframe>

JSON API

All data on this page is available as a free, open JSON API. Use it in your project, documentation, or tooling.

GET https://freewebptojpg.com/mime/image/pict.json Open JSON
Free to use
No auth required
CORS enabled
Use from any domain
Cached 24h
Cache-Control headers set

Frequently Asked Questions

What is a PICT file?

A PICT file is a legacy graphics format developed by Apple in 1984 for the original Macintosh. It is a metafile, meaning it can store both raster images (like photographs) and vector graphics (like lines, shapes, and text) in the same file.

Can modern Macs open PICT files?

Native support for PICT files was progressively removed from macOS as Apple transitioned to 64-bit architecture and fully deprecated the QuickDraw API. Today, you typically need third-party legacy image viewers like GraphicConverter or XnView to open them.

Why did Apple stop using PICT?

PICT was heavily tied to the classic Mac OS QuickDraw graphics engine and the big-endian PowerPC/Motorola architectures. When Apple built Mac OS X on a Unix foundation with the modern Quartz graphics engine, they adopted the open PDF standard as the system's native metafile format instead.

Related Formats

Share this format