@oim-media/spec 1.33.0 → 1.34.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BINARY_SPEC.md +2 -2
- package/CANONICAL_SPEC.md +1 -1
- package/package.json +1 -1
- package/schema/oim.schema.json +2 -2
- package/schema/oim2.schema.json +269 -237
- package/schema/ovm.schema.json +2 -2
- package/vectors/README.md +8 -1
- package/vectors/animation-presets.expected.json +82 -0
- package/vectors/animation-presets.oim.png +0 -0
- package/vectors/color-grade.expected.json +64 -0
- package/vectors/color-grade.oim.png +0 -0
- package/vectors/duotone.expected.json +29 -0
- package/vectors/duotone.oim.png +0 -0
- package/vectors/generative-fill.expected.json +49 -0
- package/vectors/generative-fill.oim.png +0 -0
- package/vectors/golden/animation-presets.web.png +0 -0
- package/vectors/golden/color-grade.web.png +0 -0
- package/vectors/golden/duotone.web.png +0 -0
- package/vectors/golden/exceptions.json +8 -1
- package/vectors/golden/generative-fill.web.png +0 -0
- package/vectors/golden/mask-cutout.web.png +0 -0
- package/vectors/golden/text-decorations.web.png +0 -0
- package/vectors/golden/texture.web.png +0 -0
- package/vectors/mask-cutout.expected.json +47 -0
- package/vectors/mask-cutout.oim.png +0 -0
- package/vectors/mask-frame-fill.expected.json +3 -1
- package/vectors/mask-window.expected.json +3 -1
- package/vectors/shape-shadows.expected.json +24 -2
- package/vectors/text-decorations.expected.json +121 -0
- package/vectors/text-decorations.oim.png +0 -0
- package/vectors/texture.expected.json +65 -0
- package/vectors/texture.oim.png +0 -0
- package/vectors-2/animation-presets.oim.png +0 -0
- package/vectors-2/color-grade.oim.png +0 -0
- package/vectors-2/duotone.oim.png +0 -0
- package/vectors-2/generative-fill.oim.png +0 -0
- package/vectors-2/golden/animation-presets.web.png +0 -0
- package/vectors-2/golden/color-grade.web.png +0 -0
- package/vectors-2/golden/duotone.web.png +0 -0
- package/vectors-2/golden/generative-fill.web.png +0 -0
- package/vectors-2/golden/mask-cutout.web.png +0 -0
- package/vectors-2/golden/text-decorations.web.png +0 -0
- package/vectors-2/golden/texture.web.png +0 -0
- package/vectors-2/mask-cutout.oim.png +0 -0
- package/vectors-2/text-decorations.oim.png +0 -0
- package/vectors-2/texture.oim.png +0 -0
package/BINARY_SPEC.md
CHANGED
|
@@ -50,9 +50,9 @@ OIM metadata is preferably stored in an ancillary text chunk:
|
|
|
50
50
|
|
|
51
51
|
Writers since 1.30.0 put it **after** the last `IDAT`, so the image arrives first.
|
|
52
52
|
|
|
53
|
-
### 2.3. Poster seal (`OIM_Seal`, 1.30.0 to 1.32.x, retired in 1.
|
|
53
|
+
### 2.3. Poster seal (`OIM_Seal`, 1.30.0 to 1.32.x, retired in 1.34.0)
|
|
54
54
|
|
|
55
|
-
Writers from 1.30.0 to 1.32.x put a `tEXt` chunk `OIM_Seal` between the last `IDAT` and the metadata: a signed hash of the image, so a reader could show it as a verified poster before reading the rest. It is retired in 1.
|
|
55
|
+
Writers from 1.30.0 to 1.32.x put a `tEXt` chunk `OIM_Seal` between the last `IDAT` and the metadata: a signed hash of the image, so a reader could show it as a verified poster before reading the rest. It is retired in 1.34.0: writers no longer emit it and readers **must ignore** it. The image is still sealed by the metadata's `image_hash` (see section 4), and a PNG shown before verification runs nothing, so a poster needs no seal of its own.
|
|
56
56
|
|
|
57
57
|
> **Critical note on injection:** The metadata chunk must be inserted **surgically at byte level** into the PNG binary stream, without re-rendering or re-encoding the `IDAT` blocks, preserving the exact cryptographic hash of the canvas.
|
|
58
58
|
|
package/CANONICAL_SPEC.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# OIM (Object Interactive Media) Canonical Metadata Specification
|
|
2
2
|
|
|
3
|
-
**Contract version:** 1.
|
|
3
|
+
**Contract version:** 1.34.1
|
|
4
4
|
**Date:** 2026-11-02 (reviewed against `packages/core/src/schema.ts`; the source of truth is the schema, this document summarises it)
|
|
5
5
|
**Status:** Normative / In force
|
|
6
6
|
**License:** Apache-2.0
|
package/package.json
CHANGED
package/schema/oim.schema.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://oim.media/spec/1.
|
|
3
|
+
"$id": "https://oim.media/spec/1.34.1/oim.schema.json",
|
|
4
4
|
"title": "OIM document metadata",
|
|
5
|
-
"specVersion": "1.
|
|
5
|
+
"specVersion": "1.34.1",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"description": {
|