ISO/IEC 19566-5:2023
(Main)Information technologies — JPEG systems — Part 5: JPEG universal metadata box format (JUMBF)
Information technologies — JPEG systems — Part 5: JPEG universal metadata box format (JUMBF)
This document describes the JPEG universal metadata box format (JUMBF), which provides a universal format to embed any type of metadata in any box-based JPEG file format. This document defines the syntax of the JUMBF box and the mechanism to assign specific content types. In particular, this document specifies XML, JSON, CBOR, Embedded File, codestream and UUID types. In addition, this document defines the syntax to reference or request the embedded metadata content within or outside the image.
Technologies de l'information — Systèmes JPEG — Partie 5: Format universel de fichier de métadonnées pour JPEG (JUMBF)
General Information
Relations
Standards Content (Sample)
INTERNATIONAL ISO/IEC
STANDARD 19566-5
Second edition
2023-06
Information technologies — JPEG
systems —
Part 5:
JPEG universal metadata box format
(JUMBF)
Technologies de l'information — Systèmes JPEG —
Partie 5: Format universel de fichier de métadonnées pour JPEG
(JUMBF)
Reference number
© ISO/IEC 2023
© ISO/IEC 2023
All rights reserved. Unless otherwise specified, or required in the context of its implementation, no part of this publication may
be reproduced or utilized otherwise in any form or by any means, electronic or mechanical, including photocopying, or posting on
the internet or an intranet, without prior written permission. Permission can be requested from either ISO at the address below
or ISO’s member body in the country of the requester.
ISO copyright office
CP 401 • Ch. de Blandonnet 8
CH-1214 Vernier, Geneva
Phone: +41 22 749 01 11
Email: copyright@iso.org
Website: www.iso.org
Published in Switzerland
ii
© ISO/IEC 2023 – All rights reserved
Contents Page
Foreword .iv
Introduction .v
1 Scope . 1
2 Normative references . 1
3 Terms, definitions and abbreviated terms . 1
3.1 Terms and definitions . 1
3.2 Abbreviated terms . 2
4 Conventions . 2
4.1 Conformance language . 2
4.2 Naming conventions for numerical values . 3
4.3 Boxes and superboxes . 3
4.4 Graphical descriptions . 4
5 Implementation . . 4
Annex A (normative) JUMBF Box file format .5
Annex B (normative) JUMBF Content Types . 9
Annex C (normative) JUMBF references and requests .15
Annex D (informative) JUMBF backwards compatibility and integration .17
Bibliography .21
iii
© ISO/IEC 2023 – All rights reserved
Foreword
ISO (the International Organization for Standardization) and IEC (the International Electrotechnical
Commission) form the specialized system for worldwide standardization. National bodies that are
members of ISO or IEC participate in the development of International Standards through technical
committees established by the respective organization to deal with particular fields of technical
activity. ISO and IEC technical committees collaborate in fields of mutual interest. Other international
organizations, governmental and non-governmental, in liaison with ISO and IEC, also take part in the
work.
The procedures used to develop this document and those intended for its further maintenance
are described in the ISO/IEC Directives, Part 1. In particular, the different approval criteria
needed for the different types of document should be noted. This document was drafted in
accordance with the editorial rules of the ISO/IEC Directives, Part 2 (see www.iso.org/directives or
www.iec.ch/members_experts/refdocs).
ISO and IEC draw attention to the possibility that the implementation of this document may involve the
use of (a) patent(s). ISO and IEC take no position concerning the evidence, validity or applicability of
any claimed patent rights in respect thereof. As of the date of publication of this document, ISO and IEC
had not received notice of (a) patent(s) which may be required to implement this document. However,
implementers are cautioned that this may not represent the latest information, which may be obtained
from the patent database available at www.iso.org/patents and https://patents.iec.ch. ISO and IEC shall
not be held responsible for identifying any or all such patent rights.
Any trade name used in this document is information given for the convenience of users and does not
constitute an endorsement.
For an explanation of the voluntary nature of standards, the meaning of ISO specific terms and
expressions related to conformity assessment, as well as information about ISO's adherence to
the World Trade Organization (WTO) principles in the Technical Barriers to Trade (TBT) see
www.iso.org/iso/foreword.html. In the IEC, see www.iec.ch/understanding-standards.
This document was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology,
Subcommittee SC SC 29, Coding of audio, picture, multimedia and hypermedia information.
This second edition cancels and replaces the first edition (ISO/IEC 19566-5:2019), which has been
technically revised. It also incorporates the Amendment ISO/IEC 19566-5:2019/Amd 1.
The main changes are as follows:
— Content Type for the Concise Binary Object Representation (CBOR) data as specified by RFC 8949;
— new box, the Padding Box;
— new Private entry in the JUMBF Description Box.
A list of all parts in the ISO/IEC 19566 series can be found on the ISO and IEC websites.
Any feedback or questions on this document should be directed to the user’s national standards
body. A complete listing of these bodies can be found at www.iso.org/members.html and
www.iec.ch/national-committees.
iv
© ISO/IEC 2023 – All rights reserved
Introduction
The JPEG universal metadata box format (JUMBF) provides a mechanism to embed and refer generic
metadata in JPEG files. Specific content types can be assigned to identify the specific type of the
embedded metadata. In addition to the content types defined in this document, other types can be
defined by other standards or by third parties. ISO/IEC 19566-4 and ISO/IEC 19566-6 both use JUMBF
to embed additional metadata in JPEG images. The JPEG XT file format (see ISO/IEC 18477-3) is used to
embed JUMBF boxes in JPEG-1 images (see Rec. ITU-T T.81 | ISO/IEC 10918-1).
v
© ISO/IEC 2023 – All rights reserved
INTERNATIONAL STANDARD ISO/IEC 19566-5:2023(E)
Information technologies — JPEG systems —
Part 5:
JPEG universal metadata box format (JUMBF)
1 Scope
This document describes the JPEG universal metadata box format (JUMBF), which provides a universal
format to embed any type of metadata in any box-based JPEG file format. This document defines
the syntax of the JUMBF box and the mechanism to assign specific content types. In particular, this
document specifies XML, JSON, CBOR, Embedded File, codestream and UUID types. In addition, this
document defines the syntax to reference or request the embedded metadata content within or outside
the image.
2 Normative references
The following documents are referred to in the text in such a way that some or all of their content
constitutes requirements of this document. For dated references, only the edition cited applies. For
undated references, the latest edition of the referenced document (including any amendments) applies.
ISO/IEC 10646, Information technology — Universal coded character set (UCS)
ISO/IEC 11578, Information technology — Open Systems Interconnection — Remote Procedure Call (RPC)
ISO/IEC 21778, Information technology — The JSON data interchange syntax
FIPS PUB 180-4, Secure Hash Standard (SHS)
,
W3C, Extensible Markup Language (XML 1.0)
IETF RFC 8949, Concise Binary Object Representation (CBOR)
3 Terms, definitions and abbreviated terms
3.1 Terms and definitions
For the purposes of this document, the following terms and definitions apply.
ISO and IEC maintain terminology databases for use in standardization at the following addresses:
— ISO Online browsing platform: available at https:// www .iso .org/ obp
— IEC Electropedia: available at https:// www .electropedia .org/
3.1.1
box
binary structure that encapsulates an object embedded in a file
3.1.2
codestream
sequence of bits representing a compressed image and associated metadata
© ISO/IEC 2023 – All rights reserved
3.1.3
JUMBF Box
superbox (3.1.9) containing a JUMBF Description Box, JUMBF Content Boxes and possibly a Padding Box.
3.1.4
JUMBF Content Box
box (3.1.1) of any type embedded in a JUMBF Box (3.1.3) except the JUMBF Description Box or a Padding
Box
3.1.5
JUMBF Content Type
specific set of JUMBF Type (3.1.6) values
3.1.6
JUMBF Type
UUID that implies the type of content (3.1.4) embedded in a JUMBF Box
3.1.7
Media Type
standard description of the type and/or format of the data
[SOURCE: RFC 2046, Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types, (November
1996), Internet Engineering Task Force (IETF)]
3.1.8
parent image
image file in which a JUMBF Box is embedded
3.1.9
superbox
box (3.1.1) that only contains other boxes
3.2 Abbreviated terms
CBOR Concise Binary Object Representation
JPEG Joint Photographic Experts Group
JPEG-1 image complying to ISO/IEC 10918-1
JSON JavaScript object notation
JUMBF JPEG universal metadata box format
URI uniform resource identifier
XML extensible markup language
4 Conventions
4.1 Conformance language
The keyword "reserved" indicates a provision that is not specified at this time, shall not be used, and
may be specified in the future. The keyword "forbidden" indicates "reserved" and in addition indicates
that the provision will never be specified in the future.
© ISO/IEC 2023 – All rights reserved
4.2 Naming conventions for numerical values
Integer numbers are expressed as bit patterns, hexadecimal values, or decimal numbers. Bit patterns
and hexadecimal values have both a numerical value and an associated particular length in bits.
Hexadecimal notation, indicated by prefixing the hexadecimal number "0x", may be used instead of
binary notation to denote a bit pattern having a length that is an integer multiple of 4. For example, 0x41
represents an eight-bit pattern having only its second most significant bit and its least significant bit
equal to 1. Numerical values that are indicated as "binary" are bit pattern values (specified as a string
of digits equal to 0, 1 or x in which the left-most bit is considered the most-significant bit and 'x' means
either 0 or 1). Other numerical values not prefixed by "0x" are decimal values. When used in expressions,
a hexadecimal value is interpreted as having a value equal to the value of the corresponding bit pattern
evaluated as a binary representation of an unsigned integer (i.e., as the value of the number formed by
prefixing the bit pattern with a sign bit equal to 0 and interpreting the result as a two's complement
representation of an integer value). For example, the hexadecimal value 0xF is equivalent to the 4-bit
pattern '1111' and is interpreted in expressions as being equal to the decimal number 15.
4.3 Boxes and superboxes
The annexes of this document focus on the definition of boxes. The details for embedding boxes in
specific file formats are defined in the particular documents, for example ISO/IEC 15444-1 for JPEG
2000, ISO/IEC 18477-3 for JPEG-1 / JPEG XT or the more generic ISO/IEC 14496-12 ISO base media file
format (ISOBMFF).
In general, each object in the file is encapsulated within a binary structure called a box. A box that only
contains other boxes is called a superbox. The binary structure is given in Figure 1.
Figure 1 — Binary structure of a box
— LBox: box length. This field specifies the length of the box, stored as a 4-byte big-endian unsigned
integer. This value includes all of the fields of the box, including the length and type. If the value of
this field is 1, then the 'XLBox' field shall exist and the value of that field shall be the actual length
of the box. If the value of this field is 0, this indicates that the box contains all bytes up to the end
of the file. If a box of length 0 is contained within another box (its superbox), then the length of
that superbox shall also be 0. This means that this box is the last box in the file. The values 2-7 are
reserved for ITU-T | ISO/IEC use.
— TBox: box type
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.