Rotation Angle CheckInspect ipco irot angle (CCW) and ipma property sequence

HEIC Container irot Rotation Inspector

Inspect `ImageRotation` (`irot`) angle indices (`0..3` × 90° anti-clockwise) and `ipma` transformative property ordering (`clap`, `irot`, `imir`).

Drop iPhone HEIC photos here — upright & private

30 MB / 48 MP per photo · stays on your device · Burst series & Live Photo stills supported.

Save As:
Burst Selection, JPG Quality & Batch Naming
Verified Sample · CC0-1.0Sample file: rotated-aux-thumb.heic (12.3 KB)

Verified Sample Result & Instant Demo

Try Sample File in 1 Click

How does rotated-aux-thumb.heic rotate Master Item 1 without EXIF? Property E:4 is irot angle_idx=1 (90 degrees CCW) in sequence E:1(hvcC), N:2(ispe), N:3(pixi), E:4(irot), turning 32×24 into 24×32.

irot Angle Index
1idx
Container Rotation
90deg CCW
Master ipma Order
E:1,N:2,N:3,E:4ipma
Post-irot Dimensions
24×32px
Cryptographic SHA-256 & Engine Provenance
Sample Input File
rotated-aux-thumb.heic · 12597 bytes · CC0-1.0
Browser Codec Engine
libheif-js 1.23.5
Input SHA-256 Digest
91e51edd3139e2e4ae03b276b46ba40f6b5b7b6de619cbe2fc42155311f8c809
Engine Artifact SHA-256
095194187be00d3e36335b8ad7f5552d70655e5e2159486d7d36cd4daa47bba9
Reference Verification
ISO/IEC 23008-12 Section 6.5.10 irot
Schema & Preset ID
heic.heictopngtool.heic-rotation-inspector.v1 · inspect-container-irot · proj-c-irot1-order

Decoding ISO/IEC 23008-12 `irot` Anti-Clockwise Angles & Transformative Property Order

Anti-Clockwise `irot` vs Clockwise EXIF Conventions

Engineers accustomed to TIFF/EXIF often misread raw HEIF rotation bytes because the two standards measure positive angles in opposite directions. In ISO/IEC 23008-12 Section 6.5.10, the two least-significant bits of the 1-byte irot payload encode an anti-clockwise (counter-clockwise) multiple of 90 degrees: value 1 rotates 90 degrees anti-clockwise (equivalent to EXIF Orientation 8), whereas value 3 rotates 270 degrees anti-clockwise (90 degrees clockwise, equivalent to EXIF Orientation 6).

Furthermore, the exact order of associations inside ItemPropertyAssociation (ipma) is normative. When an image combines clean-aperture cropping (clap), rotation (irot), and mirroring (imir), compliant decoders must evaluate transformative properties in the exact sequence listed for that item ID in ipma.

  • Extracts exact byte offset and 2-bit angle index of every irot box inside ipco.
  • Lists the complete E/N (essential vs non-essential) ipma chain per visual item.
  • Verifies that thumbnail and auxiliary items do not inherit master irot unless explicitly associated.

Case Study: `rotated-aux-thumb.heic`

In Fixture C, Master Item 1 associates with E:4(irot = 90 deg CCW) and renders at 24×32, whereas Thumbnail Item 2 (8×6) and Depth Item 3 (16×12) omit property 4 and attach their own clap boxes instead.

Common Questions & Answers

Why is irot marked as an essential property (E) in ipma?

ISO/IEC 23008-12 mandates that transformative properties (clap, irot, imir) carry essential=1 so decoders incapable of applying them refuse to render distorted geometry.

Does irot angle_idx=1 equal 90 degrees clockwise or counter-clockwise?

angle_idx=1 specifies 90 degrees anti-clockwise (counter-clockwise). A 90-degree clockwise portrait uses angle_idx=3 (270 degrees anti-clockwise).

100% Private In-Browser Processing

Verified local execution

  • Zero Cloud Uploads

    Your files stay on this device and are never sent to any remote server.

  • Instant Local Speed

    Runs directly on your device up to 30 MB with no upload queue.

  • No Account Needed

    Open a file, inspect your preview, and download immediately without signing up.

View Security Architecture
Execution Sandbox
Dedicated Web Worker
Post-Init Network
Locked (0 Egress)
Max File Budget
30 MB
Cross-Origin Isolation
Single-Thread WASM

After local WebAssembly initialization, Worker network APIs (fetch, XMLHttpRequest, WebSocket) are locked to prevent outbound data egress.