Skip to content

Commit 7b8f4e4

Browse files
Updated image data class
1 parent 2396e67 commit 7b8f4e4

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

programming/android/api-reference/camera-enhancer/dceframe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class com.dynamsoft.dce.DCEFrame
3939
| [`setIsCropped`](#setiscropped) | Set a boolean value that means whether the image is cropped. The frames can be cropped if `fast mode` is enabled. |
4040
| [`setCropRegion`](#setcropregion) | Set a boolean value that means whether the image is cropped. The frames can be cropped if `fast mode` is enabled. |
4141
| [`setOrientation`](#setorientation) | Set the orientation of the image. |
42-
| [`toBitmap`](#tobitmap) | The method converts the image to `UIImage` to make it visible on the UI. |
42+
| [`toBitmap`](#tobitmap) | The method converts the image to `Bitmap`. |
4343

4444
 
4545

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ class com.dynamsoft.core.ImageData
2727
| [`format`](#format) | [`EnumImagePixelFormat`]({{ site.enumerations }}image-pixel-format.html?src=android) |
2828
| [`orientation`](#orientation) | *int* |
2929

30+
## Methods
31+
32+
| Method | Description |
33+
| ------ | ----------- |
34+
| [`toBitmap`](#tobitmap) | Convert the `ImageData` object to a `Bitmap` object. |
35+
3036
 
3137

3238
### bytes
@@ -85,12 +91,6 @@ The orientation of the image buffer contained in this frame data. The value is t
8591
int orientation
8692
```
8793

88-
## Methods
89-
90-
| Method | Description |
91-
| ------ | ----------- |
92-
| `toBitmap` | Convert the `ImageData` object to a `Bitmap` object. |
93-
9494
### toBitmap
9595

9696
Convert the `ImageData` object to a `Bitmap` object.

programming/ios/api-reference/camera-enhancer/dceframe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The `DCEFrame` is the class that stores pixel data and further information.
2929
| [`isCropped`](#iscropped) | *BOOL* | The property stores a boolean value that recording whether the image is cropped. The frames can be cropped if `fast mode` is enabled. |
3030
| [`cropRegion`](#cropregion) | *CGRect* | The property stores a CGRect value that means the crop region of the image (if the image is cropped). If the image is not cropped, the value will be null. |
3131
| [`orientation`](#orientation) | *NSInteger* | The property stores an int value that means the rotation angle of the image. The value is 0, 90, 180 or 270 with depends on the device orientation. |
32-
| [`toUIImage`](#touiimage) | *UIImage* * | The method converts the image to `UIImage` to make it visible on the UI. |
32+
| [`toUIImage`](#touiimage) | *UIImage* * | The method converts the image to `UIImage`. |
3333
3434
## imageData
3535

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ Stores the image data.
2828
| [`format`](#format) | [`EnumImagePixelFormat`]({{ site.enumerations }}image-pixel-format.html?src=ios) |
2929
| [`orientation`](#orientation) | *NSInteger* |
3030
31+
## Methods
32+
33+
| Method | Description |
34+
| ------ | ----------- |
35+
| [`toUIImage`](#touiimage) | Convert the `ImageData` object to a `UIImage` object. |
36+
3137
 
3238
3339
### bytes
@@ -86,12 +92,6 @@ The orientation of the image buffer contained in this frame data. The value is t
8692
NSInteger orientation
8793
```
8894

89-
## Methods
90-
91-
| Method | Description |
92-
| ------ | ----------- |
93-
| `toUIImage` | Convert the `ImageData` object to a `UIImage` object. |
94-
9595
### toUIImage
9696

9797
Convert the `ImageData` object to a `UIImage` object.

0 commit comments

Comments
 (0)