You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Added `ContentLightLevelInfo` box parsing;
- Added access to more metadata (including ColourType, GroupsListBox, etc.);
- Added `toString` summary method to image frame;
- Improved parallel processing for enhanced stability;
- Changed the way `Frames` property is calculated (altr group logic and no thumbnails);
- Changed frame properties loading to support iOS18+ files;
- Added box types used in iOS18+ files;
- Performed memory optimizations;
- API markdown fixes;
- Minor spelling fixes.
* color transform according to EXIF contained color profiles;
25
26
* HEIC coded animations that use P and B slices;
26
27
* deblocking filter.
27
28
29
+
30
+
## New features & enhancements in version 25.9.0:
31
+
32
+
- Added `ContentLightLevelInfo` box parsing;
33
+
- Added access to more metadata (including ColourType, GroupsListBox, etc.);
34
+
- Added `toString` summary method to image frame;
35
+
- Improved parallel processing for enhanced stability;
36
+
- Changed the way `Frames` property is calculated (altr group logic and no thumbnails);
37
+
- Changed frame properties loading to support iOS18+ files;
38
+
- Added box types used in iOS18+ files;
39
+
- Performed memory optimizations;
40
+
- API markdown fixes;
41
+
- Minor spelling fixes.
42
+
43
+
28
44
## Usage examples
29
45
30
46
### Read .heic file to int array with argb32 data
@@ -158,9 +174,12 @@ Name | Type | Description | Parameters | Notes
158
174
#### Properties
159
175
Name | Type | Description
160
176
------------ | ------------- | -------------
177
+
**Header** | **HeicHeader** | Heic image header. Grants convinient access to IsoBmff container meta data.
161
178
**Frames** | **Map<Long, HeicImageFrame>** | Dictionary of public Heic image frames with access by identifier.
162
179
**AllFrames** | **Map<Long, HeicImageFrame>** | Dictionary of all Heic image frames with access by identifier.
163
180
**DefaultFrame** | **HeicImageFrame** | Returns the default image frame, which is specified in meta data.
181
+
**Width** | **long** | Width of the default image frame in pixels.
182
+
**Height** | **long** | Height of the default image frame in pixels.
164
183
165
184
### HeicImageFrame
166
185
@@ -170,10 +189,12 @@ Name | Type | Description | Parameters
170
189
**getByteArray** | **byte[]** | Get pixel data in the format of byte array. Each three or four bytes (the count depends on the pixel format) refer to one pixel left to right top to bottom line by line. In general, it equals to `dstArray`. | `PixelFormat pixelFormat` - Pixel format that defines the order of colors and the presence of alpha byte. `Rectangle boundsRectangle` - Bounds of the requested area.<br/>`byte[] dstArray` - Byte array for storing the pixel values. If it is `null` or its length is less than necessary the new array will be allocated and returned.
171
190
**getInt32Array** | **int[]** | Get pixel data in the format of integer array. Each int value refers to one pixel left to right top to bottom line by line. In general, it equals to `dstArray`. | `PixelFormat pixelFormat` - Pixel format that defines the order of colors. `Rectangle boundsRectangle` - Bounds of the requested area.<br/>`int[] dstArray` - Integer array for storing the argb values. If it is `null` or its length is less than necessary the new array will be allocated and returned.
172
191
**getTextData** | **String** | Get frame text data. Exists only for mime frame types. |
192
+
**toString** | **String** | Returns a string representation of the object. |
173
193
174
194
### Properties
175
195
Name | Type | Description
176
196
------------ | ------------- | -------------
197
+
**ID** | **long** | The unique identifier of the image frame.
177
198
**ImageType** | **ImageFrameType** | Type of an image frame content.
178
199
**Width** | **long** | Width of the image frame in pixels.
179
200
**Height** | **long** | Height of the image frame in pixels.
**HdrGainMap** | - | High dynamic range layer.<br />Defined as "urn:com:apple:photo:2020:aux:hdrgainmap". |
12
+
**PortraitEffectsMatte** | - | Layer that represents the portrait effects matte of the image.<br />Defined as "urn:com:apple:photo:2018:aux:portraiteffectsmatte". |
13
+
**SemanticHairMatte** | - | Layer that represents the semantic segmentation hair matte of the image.<br />Defined as "urn:com:apple:photo:2019:aux:semantichairmatte". |
14
+
**SemanticSkinMatte** | - | Layer that represents the semantic segmentation skin matte of the image.<br />Defined as "urn:com:apple:photo:2019:aux:semanticskinmatte". |
15
+
**SemanticTeethMatte** | - | Layer that represents the semantic segmentation teeth matte of the image.<br />Defined as "urn:com:apple:photo:2019:aux:semanticteethmatte". |
16
+
**SemanticGlassesMatte** | - | Layer that represents the semantic segmentation glasses matte of the image.<br />Defined as "urn:com:apple:photo:2020:aux:semanticglassesmatte". |
17
+
**SemanticSkyMatte** | - | Layer that represents the semantic segmentation sky matte of the image.<br />Defined as "urn:com:apple:photo:2020:aux:semanticskymatte". |
18
+
**LinearThumbnail** | - | Defined as "tag:apple.com,2023:photo:aux:linearthumbnail". |
19
+
**StyleDeltaMap** | - | Defined as "tag:apple.com,2023:photo:aux:styledeltamap". |
**ID** | **long** | The unique identifier of the image frame. |
10
11
**ImageType** | **ImageFrameType** | Type of an image frame content. |
11
12
**Width** | **long** | Width of the image frame in pixels. |
12
13
**Height** | **long** | Height of the image frame in pixels. |
@@ -26,12 +27,15 @@ Name | Type | Description | Parameters
26
27
**getByteArray** | **byte[]** | Get pixel data in the format of byte array.<br />Each three or four bytes (the count depends on the pixel format) refer to one pixel left to right top to bottom line by line.<br />Returns null if frame does not contain image data. In general, it equals to ***dstArray***. | **PixelFormat **<br/>***pixelFormat*** - Pixel format that defines the order of colors and the presence of alpha byte.<br />**Rectangle**<br/>***boundsRectangle*** - Bounds of the requested area.<br/>**byte[]**<br/>***dstArray*** - Byte array for storing the pixel values. If it is `null` or its length is less than necessary the new array will be allocated and returned.
27
28
**getInt32Array** | **int[]** | Get pixel data in the format of integer array.<br />Each int value refers to one pixel left to right top to bottom line by line.<br />Returns null if frame does not contain image data. In general, it equals to ***dstArray***. | **PixelFormat**<br/>***pixelFormat*** - Pixel format that defines the order of colors.<br />**Rectangle**<br/>***boundsRectangle*** - Bounds of the requested area.<br/>**int[]**<br/>***dstArray*** - Integer array for storing the argb values. If it is `null` or its length is less than necessary the new array will be allocated and returned.
28
29
**getTextData** | **String** | Get frame text data.<br />Exists only for mime frame types. |
30
+
**toString** | **String** | Returns a string representation of the object. | |
**hvcConfig** | **HEVCDecoderConfigurationRecord** | Hevc decoder configuration information from Isobmff container. |
35
-
**rawPixels** | **int[][][]** | Raw YUV pixel data. <br />Multidimantional array: chroma or luma index, then two-dimentional array with x and y navigation. |
37
+
**rawPixels** | **byte[][][]** | Raw YUV pixel data, used when bit depth is less or equal 8. <br />Multi-dimensional array: chroma or luma index, then two-dimensional array with x and y navigation. |
38
+
**rawPixelsHighColorRange** | **int[][][]** | Raw YUV pixel data, used when bit depth is greater than 8. <br />Multi-dimensional array: chroma or luma index, then two-dimensional array with x and y navigation. |
Copy file name to clipboardExpand all lines: docs/Openize.IsoBmff/ColourInformationBox.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,12 @@
3
3
Contains colour information about the image.
4
4
If colour information is supplied in both this box, and also in the video bitstream, this box takes precedence, and over‐rides the information in the bitstream.
0 commit comments