Английская Википедия:High Efficiency Image File Format

Материал из Онлайн справочника
Версия от 10:20, 21 марта 2024; EducationBot (обсуждение | вклад) (Новая страница: «{{Английская Википедия/Панель перехода}} {{Short description|File format}} {{Redirect|HEIF|the Higher Education Innovation Fund|Research England}} {{Redirect|heic|other uses|HEIC (disambiguation)}} {{Infobox file format | name = High Efficiency Image File Format (HEIF) | icon = | screenshot = Comparison between JPEG, JPEG 2000, JPEG XR and HEIF.png | caption = Comparison of JPEG, JPEG 2000, JPEG XR...»)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)
Перейти к навигацииПерейти к поиску

Шаблон:Short description Шаблон:Redirect Шаблон:Redirect Шаблон:Infobox file format

High Efficiency Image File Format (HEIF) is a container format for storing individual digital images and image sequences. The standard covers multimedia files that can also include other media streams, such as timed text, audio and video.[1]

HEIF can store images encoded with multiple coding formats, for example both SDR and HDR images. HEVC is an image and video encoding format and the default image codec used with HEIF. HEIF files containing HEVC-encoded images are also known as HEIC files. Such files require less storage space than the equivalent quality JPEG.[2][3]

HEIF files are a special case of the ISO Base Media File Format (ISOBMFF, ISO/IEC 14496-12), first defined in 2001 as a shared part of MP4 and JPEG 2000. Introduced in 2015, it was developed by the Moving Picture Experts Group (MPEG) and is defined as Part 12 within the MPEG-H media suite (ISO/IEC 23008-12).

History

The requirements and main use cases of HEIF were defined in 2013.[4][5] The technical development of the specification took about one and a half years and was finalized in the middle of 2015.[6]

Apple was the first major adopter of the format in 2017 with the introduction of iOS 11 using HEIC variant.

Android devices containing the appropriate hardware encoders received support for HEIC files with the release of Android 10 (2019).[7]

On some systems, pictures stored in the HEIC format are converted automatically to the older JPEG format when they are sent outside of the system, although incompatibility has led to problems such as US Advanced Placement test takers failing due to their phones uploading unsupported HEIC images by default,[8] leading the College Board to request students change the settings to send only JPEG files.[9]

Although HEIC is gaining in popularity there are still major issues with compatibility. Although operating systems and applications now generally support HEIC encoded with 8-bit colour (BitDepthChroma : 8), 10-bit colour support is not widely available. Both 8-bit and 10-bit files use the same ".heic" file extension. This can cause confusion when opening 10-bit colour encoded colour files on systems/devices that do not support the higher encoding such as iOS and Windows. Adobe Photoshop is an example of a popular image editing software that only supports 8-bit HEIC.[10]

Camera hardware (including mobile devices) are increasingly adding 10-bit modes to take advantage of the benefits of 10-bit capture.[11]

Features

HEIF files can store the following types of data:[1]

Image items
Storage of individual images, image properties and thumbnails.
Image derivations
Derived images enable non-destructive image editing, and are created on the fly by the rendering software using editing instructions stored separately in the HEIF file. These instructions (rectangular cropping, rotation by one, two or three quarter-turns, timed graphic overlays, etc.) and images are stored separately in the HEIF file, and describe specific transformations to be applied to the input images. The storage overhead of derived images is small.
Image sequences
Storage of multiple time-related and/or temporally predicted images (like a burst-photo shot or cinemagraph animation), their properties and thumbnails. Different prediction options can be used in order to exploit the temporal and spatial similarities between the images. Hence, file sizes can be drastically reduced when many images are stored in the same HEIF file.
Auxiliary image items
Storage of image data, such as an alpha plane or a depth map, which complements another image item. These data are not displayed as such, but used in various forms to complement another image item.
Image metadata
Storage of EXIF, XMP and similar metadata which accompany the images stored in the HEIF file.

Variants

As HEIF is a container format, it can contain still images and image sequences that are coded in different formats. The main filename extensions are .heif for still images and .heifs for sequences, which can both be used with any codec. Generic HEIF image files are typically stored with filename extensions .heif, but they may use a different extension to indicate the specific codec used.

Шаблон:AnchorШаблон:Anchor

MIAF

The Multi-Image Application Format (MIAF) is a restricted subset of HEIF specified as part of MPEG-A. It defines a set of additional constraints to simplify format options, specific alpha plane formats, profiles and levels as well as metadata formats and brands, and rules for how to extend the format.[12]

Шаблон:AnchorШаблон:Anchor

HEIC: HEVC in HEIF

High Efficiency Video Coding (HEVC, ITU-T H.265)[13] is an encoding format for graphic data, first standardized in 2013. It is the primarily used and implied default codec for HEIF as specified in the normative Annex B to ISO/IEC 23008-12 HEVC Image File Format.

While not introduced formally in the standard, the acronym HEIC (High-Efficiency Image Codec) is used as a brand and in the MIME subtypes image/heic and image/heic-sequence. If the content conforms to certain HEVC profiles, more specific brands can be used: HEIX for Main 10 of HEVC, HEIM for (Multiview) Main profile and HEIS for (Scalable) Main (10) profile of L-HEVC.

A HEIC photo takes up about half the space of an equivalent quality JPEG file.[14] The initial HEIF specification already defined the means of storing HEVC-encoded intra images (i-frames) and HEVC-encoded image sequences in which inter prediction is applied in a constrained manner.

HEVC image players are required to support rectangular cropping and rotation by one, two and three quarter-turns. The primary use case for the mandatory support for rotation by 90 degrees is for images where the camera orientation is incorrectly detected or inferred. The rotation requirement makes it possible to manually adjust the orientation of a still image or an image sequence without needing to re-encode it. Cropping enables the image to be re-framed without re-encoding. The HEVC file format also includes the option to store pre-derived images.[15]

Samples in image sequence tracks must be either intra-coded images or inter-picture predicted images with reference to only intra-coded images. These constraints of inter-picture prediction reduce the decoding latency for accessing any particular image within a HEVC image sequence track.

The .heic and .heics file name extensions are conventionally used for HEVC-coded HEIF files.[16] Apple products, for instance,[17] will only produce files with these extensions, which indicate clearly that the data went through HEVC encoding.[2]

Шаблон:AnchorШаблон:Anchor

AVCI: AVC in HEIF

Advanced Video Coding (AVC, ITU-T H.264) is an older encoding format for video and images, first standardized in 2003. It is also specified as a codec to be supported in HEIF in normative Annex 5 to ISO/IEC 23008-12. The registered MIME types are image/avci for still images and image/avcs for sequences. The format is simply known as AVCI.

Apple products support playback of AVC-encoded .avci still image files and .avcs image sequence files[17] but will only generate .heic files.

AVIF: AV1 in HEIFШаблон:Anchor

Шаблон:About Шаблон:Main AV1 is a video encoding format that is intended to be royalty free developed by the Alliance for Open Media (AOMedia). AV1 Image File Format (AVIF) is an image format based on this codec.[18]

The registered MIME type is image/avif for both still images and image sequences, and .avif is the file name extension.[19]

JPEG compression formats in HEIF filesШаблон:Anchor

The original JPEG standard is the most commonly used and widely supported lossy image coding format, first released in 1992 by ITU-T and ISO/IEC. Although Annex H to ISO/IEC 23008-12 specifies JPEG (and indirectly Motion JPEG) as a possible format for HEIF coded image data, it is used in HEIF only for thumbnails and other secondary images. Therefore, neither a dedicated MIME subtype nor a special file extension is available for storage of JPEG files in HEIF container files.

Several other compression formats defined by the JPEG group can be stored in HEIF files:

  • Part 16 of the JPEG 2000 standard suite (ISO/IEC 15444-16 and ITU-T Rec. T.815) defines how to store JPEG 2000 images in HEIF container files.[20][21] Part 2 of the JPEG 2000 suite (ISO/IEC 15444-2 and ITU-T Rec. T.801)[22][23] also defines a different format for storing JPEG 2000 images in files that is also based on ISOBMFF.
  • Annex F of the JPEG XR image coding standard (ISO/IEC 29199-2 and ITU-T Rec. T.832) defines how to store JPEG XR images in HEIF container files.[24][25] Annex A of JPEG XR also defines a different file format for storing JPEG XR images in files that is TIFF-based, and Part 2 of the JPEG 2000 suite (ISO/IEC 15444-2 and ITU-T Rec. T.801) also supports a third file format for storing JPEG XR images in files that is based on ISOBMFF.
  • JPEG XS has its HEIF container support defined in ISO/IEC 21122-3.[26]

In 2017, Apple announced that it would adopt HEIC as the default image format in its new operating systems, gradually replacing JPEG.[27]

Both AVIF and HEIC are currently being considered as possible replacements for the universal JPEG format because, among other technical contributions, both can reduce file size by about 50% while maintaining equivalent quality.Шаблон:Dubious

WXAM, SharpP

Шаблон:Cleanup section

The proprietary image format WXAM or wxHEPC developed by Tencent and used e.g. within WeChat is apparently based upon HEVC,[28] as is SharpP, which was developed by their SNG (Social Network Group) division.[29][30] However, their container format may not be HEIF-compatible. In March 2017, SharpP switched to AVS2[31] and was renamed TPG (Tiny Portable Graphics).[30][32]

Support

Шаблон:See also

  • Nokia provides an open source Java HEIF decoder.[15]
  • The open source library "libheif" supports reading and writing HEIF files.[33][34] From version 1.8.0, both reading and writing HEIC and AVIF are supported.[33]
  • An image codec called CopyTrans HEIC, which is free for personal use and available for Windows versions 7 through 10, supports opening HEIF files in Windows Photo Viewer without the Microsoft codec installed. (The Microsoft HEIC codec is only available for Windows 10, version 1803 and up in the Photos UWP app.)[35]

Operating systems

Web browsers

Шаблон:As of, only Safari supports HEIC format natively.[48]

For AVIF, Chrome, Firefox and Opera for desktop and Android support it. Safari on iOS 16 and iPadOS 16 supports AVIF format.[49]

Image editing software

Hardware

Websites

  • During May 2020, online Advanced Placement exams allowed students to submit photos of handwritten responses. Because the website was unable to process HEIF images, students whose phones defaulted to this image format were considered to have not submitted any response and often failed to complete the exam. College Board, which administers the exams, later provided a system for users to submit photos of answers via email. Because the iOS Mail app automatically converts HEIF images to JPEG, this mitigated the problem.[73]
  • Facebook supports the upload of HEIC but converts to JPEG or WEBP on display.[74]
  • Discord does not support HEIC at all.[75]

Patent licensing

Шаблон:Further

HEIF itself is a container that may not be subject to additional royalty fees for commercial ISOBMFF licensees. Note however that Nokia also grants its patents on a royalty-free basis for non-commercial purposes.[76] When containing images and image sequences encoded in a particular format (e.g. HEVC or AVC) its use becomes subject to the licensing of patents on the coding format.[77][78][79]

See also

References

Шаблон:Reflist

External links

Шаблон:Compression formats Шаблон:MPEG

  1. 1,0 1,1 Шаблон:Cite web
  2. 2,0 2,1 Шаблон:Cite web
  3. 3,0 3,1 Шаблон:Cite web
  4. Шаблон:Cite web
  5. Шаблон:Cite web
  6. Шаблон:Cite web
  7. Шаблон:Cite web
  8. Шаблон:Cite web
  9. Шаблон:Cite tweet
  10. Шаблон:Cite web
  11. Шаблон:Cite web
  12. Шаблон:Citation
  13. Шаблон:Cite web
  14. Шаблон:Cite news
  15. 15,0 15,1 Шаблон:Cite web
  16. Шаблон:Cite web
  17. 17,0 17,1 17,2 Шаблон:Cite web
  18. Шаблон:Cite news
  19. Шаблон:Cite web
  20. Шаблон:Cite web
  21. Шаблон:Cite web
  22. Шаблон:Cite web
  23. Шаблон:Cite web
  24. Шаблон:Cite web
  25. Шаблон:Cite web
  26. Шаблон:Cite web
  27. Шаблон:Cite web
  28. Шаблон:Cite web
  29. Шаблон:Cite webШаблон:Cite web
  30. 30,0 30,1 Шаблон:Cite web
  31. Шаблон:Cite web
  32. Шаблон:Cite web
  33. 33,0 33,1 Шаблон:Cite web
  34. Шаблон:Cite web
  35. Шаблон:Cite web
  36. Шаблон:Cite news
  37. Шаблон:Cite web
  38. Шаблон:Cite web
  39. Шаблон:Cite web
  40. Шаблон:Cite web
  41. Шаблон:Cite web
  42. Шаблон:Cite web
  43. Шаблон:Cite web
  44. Шаблон:Cite news
  45. Шаблон:Cite web
  46. 46,0 46,1 Шаблон:Cite web
  47. Шаблон:Cite web
  48. Шаблон:Cite web
  49. Шаблон:Cite web
  50. Шаблон:Cite web
  51. Шаблон:Cite web
  52. Шаблон:Cite web
  53. Шаблон:Cite news
  54. Шаблон:Cite news
  55. Шаблон:Cite news
  56. Шаблон:Cite web
  57. Шаблон:Cite news
  58. Шаблон:Cite news
  59. Шаблон:Cite web
  60. https://media.the-digital-picture.com/Information/Canon-EOS-1D-X-Mark-III-Still-Image-White-Paper.pdf Шаблон:Webarchive page 45
  61. Шаблон:Cite web
  62. Шаблон:Cite web
  63. Шаблон:Cite web
  64. Шаблон:Cite web
  65. Шаблон:Cite web
  66. Шаблон:Cite web
  67. Шаблон:Cite web
  68. Шаблон:Cite web
  69. Шаблон:Cite web
  70. Шаблон:Cite web
  71. Шаблон:Cite web
  72. Шаблон:Cite web
  73. Шаблон:Cite news
  74. Шаблон:Cite web
  75. Шаблон:Cite web
  76. Шаблон:Cite web
  77. Шаблон:Cite web
  78. Шаблон:Cite web
  79. Шаблон:Cite web