Free webp to jpg
Image MIME Reference
FreeHand

Macromedia FreeHand Document

image/x-freehand
VS

Pentax Electronic File

image/x-pentax-pef
Pentax-PEF

A complete technical comparison of Macromedia FreeHand Document and Pentax Electronic File — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature FreeHand Pentax-PEF
Transparency (Alpha) Yes ✕ No
Animation Support Yes ✕ No
Progressive Loading ✕ No ✕ No
HDR Support ✕ No Yes
EXIF Metadata ✕ No Yes
ICC Color Profile Yes Yes
Macromedia FreeHand Document
image/x-freehand
Extension
.fh.fh4.fh5.fh7.fh8.fh9.fh10.fh11.ft11
Container Proprietary Binary (Aldus Graphic Document)
Compression Uncompressed / Deflate (in later versions)
Algorithm
NoneDeflate (Optional in later versions)
Color Depth Vector Data (RGB/CMYK)
Developed by Altsys / Aldus / Macromedia
Released 1988
Magic Bytes
41 47 44 31 to 41 47 44 34
Full FreeHand reference →
Pentax Electronic File
image/x-pentax-pef
Extension
.pef
Container TIFF-based (Proprietary)
Compression Uncompressed / Proprietary Lossless
Algorithm
NonePentax Proprietary Lossless
Color Depth 12-bit (Per Channel), 14-bit (Per Channel)
Developed by Pentax (now Ricoh Imaging Company, Ltd.)
Released 2003
Magic Bytes
49 49 2A 00 (Little-endian) or 4D 4D 00 2A (Big-endian)
Full Pentax-PEF reference →

Browser Support Comparison

Browser FreeHand Pentax-PEF
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
FreeHand

FreeHand Strengths

  • Historically one of the most powerful and intuitive vector editors on the market, praised for multi-page support long before Adobe Illustrator implemented it
  • Files are generally compact and self-contained
Limitations
  • Completely abandoned proprietary format; Adobe actively blocked native import in modern versions of Illustrator
  • No support in modern web browsers; must be converted to SVG
  • Versioning fragmentation means parsers must account for wildly different binary structures depending on the specific .fhX extension used
Pentax-PEF

Pentax-PEF Strengths

  • Retains absolute maximum sensor data, enabling massive shadow recovery and highlight protection compared to compressed in-camera JPEGs
  • White balance and sharpening are saved as metadata instructions rather than 'baked in', meaning they can be perfectly adjusted in post-production
  • Utilizes the standard TIFF container structure, making it relatively straightforward for open-source software like LibRaw to parse
Limitations
  • Proprietary format requires continuous updates to third-party processing software whenever Pentax releases a new camera model (unlike the open DNG format)
  • Produces very large file sizes compared to standard web formats
  • Cannot be directly embedded into web pages or used in standard HTML/CSS contexts

When to choose which format

FreeHand
Use FreeHand when…
  • Legacy Graphic Design Portfolios
  • Historical Desktop Publishing Archival
  • Old Corporate Logo Vectors
Pentax-PEF
Use Pentax-PEF when…
  • Professional Digital Photography
  • Non-destructive Image Post-Processing
  • Pentax Camera Archival
Share this comparison