Skip to content

Commit 765c228

Browse files
Merge pull request #50 from dynamsoft-docs/preview
Preview
2 parents c95498b + 12547fb commit 765c228

File tree

4 files changed

+32
-42
lines changed

4 files changed

+32
-42
lines changed

programming/android/api-reference/image-data-v1.0.0.md

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,13 @@ class com.dynamsoft.core.ImageData
1818

1919
## Attributes
2020

21-
| Attribute | Type |
22-
|---------- | ---- |
23-
| [`bytes`](#bytes) | *byte[]* |
24-
| [`width`](#width) | *int* |
25-
| [`height`](#height) | *int* |
26-
| [`stride`](#stride) | *int* |
27-
| [`format`](#format) | [`EnumImagePixelFormat`]({{ site.enumerations }}image-pixel-format.html?src=android) |
28-
| [`orientation`](#orientation) | *int* |
21+
| Attribute | Type | Description |
22+
|---------- | ---- | ----------- |
23+
| [`bytes`](#bytes) | *byte[]* | The array of bytes that stores the pixel buffer of the image. |
24+
| [`width`](#width) | *int* | The width of the image in pixels. |
25+
| [`height`](#height) | *int* | The height of the image in pixels. |
26+
| [`stride`](#stride) | *int* | The stride is measured by the byte length of each line in the pixel buffer. |
27+
| [`format`](#format) | *int* | The image pixel format used in the image byte array. View [`EnumImagePixelFormat`]({{ site.enumerations }}image-pixel-format.html?src=android) for all supported image pixel formats. |
2928

3029
 
3130

@@ -74,15 +73,7 @@ int stride
7473
The image pixel format used in the image byte array.
7574

7675
```java
77-
EnumImagePixelFormat format
78-
```
79-
80-
### orientation
81-
82-
The counterclockwise rotation angle of the image. It can be 0, 90, 180 or 270.
83-
84-
```java
85-
int orientation
76+
int format
8677
```
8778

8879
## Methods

programming/android/api-reference/image-data.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ class com.dynamsoft.core.ImageData
1818

1919
## Attributes
2020

21-
| Attribute | Type |
22-
|---------- | ---- |
23-
| [`bytes`](#bytes) | *byte[]* |
24-
| [`width`](#width) | *int* |
25-
| [`height`](#height) | *int* |
26-
| [`stride`](#stride) | *int* |
27-
| [`format`](#format) | [`EnumImagePixelFormat`]({{ site.enumerations }}image-pixel-format.html?src=android) |
28-
| [`orientation`](#orientation) | *int* |
21+
| Attribute | Type | Description |
22+
|---------- | ---- | ----------- |
23+
| [`bytes`](#bytes) | *byte[]* | The array of bytes that stores the pixel buffer of the image. |
24+
| [`width`](#width) | *int* | The width of the image in pixels. |
25+
| [`height`](#height) | *int* | The height of the image in pixels. |
26+
| [`stride`](#stride) | *int* | The stride is measured by the byte length of each line in the pixel buffer. |
27+
| [`format`](#format) | *int* | The image pixel format used in the image byte array. View [`EnumImagePixelFormat`]({{ site.enumerations }}image-pixel-format.html?src=android) for all supported image pixel formats. |
28+
| [`orientation`](#orientation) | *int* | The orientation of the image buffer contained in this frame data. |
2929

3030
## Methods
3131

@@ -80,7 +80,7 @@ int stride
8080
The image pixel format used in the image byte array.
8181

8282
```java
83-
EnumImagePixelFormat format
83+
int format
8484
```
8585

8686
### orientation

programming/ios/api-reference/image-data-v1.0.0.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,13 @@ Stores the image data.
1919
2020
## Attributes
2121
22-
| Attribute | Type |
23-
|---------- | ---- |
24-
| [`bytes`](#bytes) | *NSData\** |
25-
| [`width`](#width) | *NSInteger* |
26-
| [`height`](#height) | *NSInteger* |
27-
| [`stride`](#stride) | *NSInteger* |
28-
| [`format`](#format) | [`EnumImagePixelFormat`]({{ site.enumerations }}image-pixel-format.html?src=ios) |
29-
| [`orientation`](#orientation) | *NSInteger* |
22+
| Attribute | Type | Description |
23+
|---------- | ---- | ----------- |
24+
| [`bytes`](#bytes) | *NSData\** | The array of bytes that stores the pixel buffer of the image. |
25+
| [`width`](#width) | *NSInteger* | The width of the image in pixels. |
26+
| [`height`](#height) | *NSInteger* | The height of the image in pixels. |
27+
| [`stride`](#stride) | *NSInteger* | The stride is measured by the byte length of each line in the pixel buffer. |
28+
| [`format`](#format) | *NSInteger* | The image pixel format used in the image byte array. View [`EnumImagePixelFormat`]({{ site.enumerations }}image-pixel-format.html?src=ios) for all supported image pixel formats. |
3029
3130
 
3231

programming/ios/api-reference/image-data.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ Stores the image data.
1919
2020
## Attributes
2121
22-
| Attribute | Type |
23-
|---------- | ---- |
24-
| [`bytes`](#bytes) | *NSData\** |
25-
| [`width`](#width) | *NSInteger* |
26-
| [`height`](#height) | *NSInteger* |
27-
| [`stride`](#stride) | *NSInteger* |
28-
| [`format`](#format) | [`EnumImagePixelFormat`]({{ site.enumerations }}image-pixel-format.html?src=ios) |
29-
| [`orientation`](#orientation) | *NSInteger* |
22+
| Attribute | Type | Description |
23+
|---------- | ---- | ----------- |
24+
| [`bytes`](#bytes) | *NSData\** | The array of bytes that stores the pixel buffer of the image. |
25+
| [`width`](#width) | *NSInteger* | The width of the image in pixels. |
26+
| [`height`](#height) | *NSInteger* | The height of the image in pixels. |
27+
| [`stride`](#stride) | *NSInteger* | The stride is measured by the byte length of each line in the pixel buffer. |
28+
| [`format`](#format) | *NSInteger* | The image pixel format used in the image byte array. View [`EnumImagePixelFormat`]({{ site.enumerations }}image-pixel-format.html?src=android) for all supported image pixel formats. |
29+
| [`orientation`](#orientation) | *NSInteger* | The orientation of the image buffer contained in this frame data. |
3030
3131
## Methods
3232

0 commit comments

Comments
 (0)