Free webp to jpg
HTJ2K-Codestream

High-Throughput JPEG 2000 Codestream

image/jphc Released 2019 · by Joint Photographic Experts Group (JPEG)

The image/jphc MIME type represents a raw High-Throughput JPEG 2000 (HTJ2K) codestream. Unlike the JPH container format (image/jph), which includes file-level metadata and boxes, a JPHC file contains only the bare JPEG 2000 Part 15 compressed image data, optimized for ultra-fast, parallelized encoding and decoding.

Professional & Archival Transparency Progressive ✦ HDR Production Ready

Technical Specifications

MIME Type
image/jphc
Extensions
.jhc
Container
None (Raw Codestream)
Compression
Lossy & Lossless
Algorithms
High-Throughput JPEG 2000 (HTJ2K)
Color Depth
8-bit, 16-bit, 32-bit, 38-bit
Metadata
None
Capabilities
Transparency
Animation
Progressive Loading
Alpha Channel
HDR Support
Official Specification
Aliases: image/x-jphc

Magic Bytes & HTTP Headers

File Signature (Magic Bytes)
FF 4F FF 51
ASCII: .O.Q
HTTP Headers
Content-Type: image/jphc
HTML Accept Attribute
accept="image/jphc, .jhc"

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
  • Extremely fast encoding and decoding capabilities due to the parallelizable block coder
  • Minimal file overhead since it lacks container headers and metadata
  • Ideal for streaming applications or embedded systems where parsing a full container is unnecessary
Limitations
  • Lacks standard metadata support (like EXIF, XMP, or ICC color profiles) since there is no container structure
  • Zero native web browser compatibility
  • Difficult to distinguish from standard JPEG 2000 codestreams without deeply parsing the internal marker segments

Developer Code Snippets

import magic
print(magic.from_file('codestream.jhc', mime=True)) # May default to generic 'image/jp2' or 'application/octet-stream'
const FileType = require('file-type');
const type = await FileType.fromFile('codestream.jhc');
console.log(type?.mime); // Standard libraries may struggle to differentiate between a standard J2K codestream and an HTJ2K one
import "net/http"
// Custom codestream parsing is required to read the CAP marker indicating HTJ2K usage.
$mime = mime_content_type('codestream.jhc');
echo $mime; // Standard implementations often map this to application/octet-stream

File Detection Steps

How to programmatically detect a image/jphc file by reading its raw bytes:

  1. 1 Check the first 4 bytes for the standard JPEG 2000 codestream signature (FF 4F FF 51)
  2. 2 Parse the COD (Coding style default) or CAP (Capabilities) marker segments to verify the presence of the High-Throughput (HT) block coder profile

Software Support

O
OpenJPH
K
Kakadu Software
G
Grok

Conversion Tools

Share & Embed

Markdown Badge
HTJ2K-Codestream Format Badge
[![HTJ2K-Codestream Format](https://freewebptojpg.com/mime/image/htj2k-codestream/badge.svg)](https://freewebptojpg.com/mime/image/htj2k-codestream)
Interactive iframe Widget
<iframe src="https://freewebptojpg.com/mime/image/htj2k-codestream/embed" width="100%" height="280" style="border:1px solid #cbd5e1;border-radius:8px;" title="HTJ2K-Codestream 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/htj2k-codestream.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 the difference between image/jph and image/jphc?

image/jph represents a High-Throughput JPEG 2000 image encapsulated within a standard container (complete with metadata, color profiles, and boxes). image/jphc represents the raw, stripped-down HTJ2K codestream without any container metadata.

What is the magic byte for an HTJ2K codestream?

Like standard JPEG 2000 codestreams, an HTJ2K codestream begins with the SOC (Start of Codestream) marker FF 4F, followed immediately by the SIZ marker FF 51. The unique HTJ2K capabilities are signaled deeper within the codestream header markers.

Can I use .jhc files on a website?

No. Modern web browsers do not natively support High-Throughput JPEG 2000 codestreams. They are strictly utilized in backend pipelines, medical systems, and professional archival workflows.

Share this format