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
|[load_with_options(file_path, load_options)](#load_with_options_file_path_load_options_68)| Loads a new image from the specified file path or URL.<br/> If _filePath_ is a file path the method just opens the file.<br/> If _filePath_ is an URL, the method downloads the file, stores it as a temporary one, and opens it. |
132
132
| normalize_angle() | Normalizes the angle.<br/> This method is applicable to scanned text documents to get rid of the skewed scan.<br/> This method uses [RasterImage.get_skew_angle()](/imaging/python-net/aspose.imaging/rasterimage/) and [RasterImage.rotate(angle)](/imaging/python-net/aspose.imaging/rasterimage/) methods. |
133
133
|[normalize_angle(resize_proportionally, background_color)](#normalize_angle_resize_proportionally_background_color_69)| Normalizes the angle.<br/> This method is applicable to scanned text documents to get rid of the skewed scan.<br/> This method uses [RasterImage.get_skew_angle()](/imaging/python-net/aspose.imaging/rasterimage/) and [RasterImage.rotate(angle, resize_proportionally, background_color)](/imaging/python-net/aspose.imaging/rasterimage/) methods. |
134
+
| normalize_histogram() | Normalizes the image histogram — adjust pixel values to use all available range. |
134
135
|[read_argb_32_scan_line(scan_line_index)](#read_argb_32_scan_line_scan_line_index_70)| Reads the whole scan line by the specified scan line index. |
135
136
|[read_scan_line(scan_line_index)](#read_scan_line_scan_line_index_71)| Reads the whole scan line by the specified scan line index. |
136
137
| remove_metadata() | Removes this image instance metadata by setting this [IHasXmpData.xmp_data](/imaging/python-net/aspose.imaging.xmp/ihasxmpdata/) value to **None**. |
|[load_with_options(file_path, load_options)](#load_with_options_file_path_load_options_74)| Loads a new image from the specified file path or URL.<br/> If _filePath_ is a file path the method just opens the file.<br/> If _filePath_ is an URL, the method downloads the file, stores it as a temporary one, and opens it. |
142
142
| normalize_angle() | Normalizes the angle.<br/> This method is applicable to scanned text documents to get rid of the skewed scan.<br/> This method uses [RasterImage.get_skew_angle()](/imaging/python-net/aspose.imaging/rasterimage/) and [RasterImage.rotate(angle)](/imaging/python-net/aspose.imaging/rasterimage/) methods. |
143
143
|[normalize_angle(resize_proportionally, background_color)](#normalize_angle_resize_proportionally_background_color_75)| Normalizes the angle.<br/> This method is applicable to scanned text documents to get rid of the skewed scan.<br/> This method uses [RasterImage.get_skew_angle()](/imaging/python-net/aspose.imaging/rasterimage/) and [RasterCachedMultipageImage.rotate(angle, resize_proportionally, background_color)](/imaging/python-net/aspose.imaging/rastercachedmultipageimage/) methods. |
144
+
| normalize_histogram() | Normalizes the image histogram — adjust pixel values to use all available range. |
144
145
|[pop_frame_at(index)](#pop_frame_at_index_76)| Remove and retrieve the frame at the specified index from your frame collection<br/> with this intuitive method. Perfect for developers seeking efficient management<br/> of frames in their animations. |
145
146
|[read_argb_32_scan_line(scan_line_index)](#read_argb_32_scan_line_scan_line_index_77)| Reads the whole scan line by the specified scan line index. |
146
147
|[read_scan_line(scan_line_index)](#read_scan_line_scan_line_index_78)| Reads the whole scan line by the specified scan line index. |
@@ -2539,7 +2540,7 @@ Writes the whole scan line to the specified scan line index.
2539
2540
| pixels |[Color[]](/imaging/python-net/aspose.imaging/color)| The pixel colors array to write. |
2540
2541
2541
2542
## **Examples**
2542
-
### The following example shows how to export to APNG file format. {#example_143}
2543
+
### The following example shows how to export to APNG file format. {#example_161}
2543
2544
```python
2544
2545
2545
2546
import aspose.pycore as aspycore
@@ -2558,7 +2559,7 @@ with Image.load("Animation1.webp") as image:
2558
2559
2559
2560
```
2560
2561
2561
-
### The following example shows how to export apng APNG file format from other non-animated multi-page format. {#example_144}
2562
+
### The following example shows how to export apng APNG file format from other non-animated multi-page format. {#example_162}
|[load_with_options(file_path, load_options)](#load_with_options_file_path_load_options_67)| Loads a new image from the specified file path or URL.<br/> If _filePath_ is a file path the method just opens the file.<br/> If _filePath_ is an URL, the method downloads the file, stores it as a temporary one, and opens it. |
130
130
| normalize_angle() | Normalizes the angle.<br/> This method is applicable to scanned text documents to get rid of the skewed scan.<br/> This method uses [RasterImage.get_skew_angle()](/imaging/python-net/aspose.imaging/rasterimage/) and [RasterImage.rotate(angle)](/imaging/python-net/aspose.imaging/rasterimage/) methods. |
131
131
|[normalize_angle(resize_proportionally, background_color)](#normalize_angle_resize_proportionally_background_color_68)| Normalizes the angle.<br/> This method is applicable to scanned text documents to get rid of the skewed scan.<br/> This method uses [RasterImage.get_skew_angle()](/imaging/python-net/aspose.imaging/rasterimage/) and [RasterImage.rotate(angle, resize_proportionally, background_color)](/imaging/python-net/aspose.imaging/rasterimage/) methods. |
132
+
| normalize_histogram() | Normalizes the image histogram — adjust pixel values to use all available range. |
132
133
|[read_argb_32_scan_line(scan_line_index)](#read_argb_32_scan_line_scan_line_index_69)| Reads the whole scan line by the specified scan line index. |
133
134
|[read_scan_line(scan_line_index)](#read_scan_line_scan_line_index_70)| Reads the whole scan line by the specified scan line index. |
134
135
| remove_metadata() | Removes this image instance metadata by setting this [IHasXmpData.xmp_data](/imaging/python-net/aspose.imaging.xmp/ihasxmpdata/) value to **None**. |
|[load_with_options(file_path, load_options)](#load_with_options_file_path_load_options_74)| Loads a new image from the specified file path or URL.<br/> If _filePath_ is a file path the method just opens the file.<br/> If _filePath_ is an URL, the method downloads the file, stores it as a temporary one, and opens it. |
145
145
| normalize_angle() | Normalizes the angle.<br/> This method is applicable to scanned text documents to get rid of the skewed scan.<br/> This method uses [RasterImage.get_skew_angle()](/imaging/python-net/aspose.imaging/rasterimage/) and [RasterImage.rotate(angle)](/imaging/python-net/aspose.imaging/rasterimage/) methods. |
146
146
|[normalize_angle(resize_proportionally, background_color)](#normalize_angle_resize_proportionally_background_color_75)| Utilize the NormalizeAngle method specifically designed for scanned text documents <br/> to rectify skewed scans, ensuring accurate alignment. Seamlessly <br/> integrate this functionality into your text processing workflows to enhance <br/> document readability and quality, improving overall efficiency in text recognition <br/> and analysis tasks.<br/> This method uses [RasterImage.get_skew_angle()](/imaging/python-net/aspose.imaging/rasterimage/) and [TiffImage.rotate(angle, resize_proportionally, background_color)](/imaging/python-net/aspose.imaging.fileformats.tiff/tiffimage/) methods. |
147
+
| normalize_histogram() | Normalizes the image histogram — adjust pixel values to use all available range. |
147
148
|[read_argb_32_scan_line(scan_line_index)](#read_argb_32_scan_line_scan_line_index_76)| Reads the whole scan line by the specified scan line index. |
148
149
|[read_scan_line(scan_line_index)](#read_scan_line_scan_line_index_77)| Reads the whole scan line by the specified scan line index. |
149
150
|[remove_frame(frame)](#remove_frame_frame_78)| Efficiently remove the specified frame from the image sequence, facilitating <br/> streamlined frame management within your application. Integrate this functionality <br/> to enhance precision and flexibility in frame manipulation, ensuring seamless <br/> organization and presentation of image content. |
|[load_with_options(file_path, load_options)](#load_with_options_file_path_load_options_72)| Loads a new image from the specified file path or URL.<br/> If _filePath_ is a file path the method just opens the file.<br/> If _filePath_ is an URL, the method downloads the file, stores it as a temporary one, and opens it. |
145
145
| normalize_angle() | Normalizes the angle.<br/> This method is applicable to scanned text documents to get rid of the skewed scan.<br/> This method uses [RasterImage.get_skew_angle()](/imaging/python-net/aspose.imaging/rasterimage/) and [RasterImage.rotate(angle)](/imaging/python-net/aspose.imaging/rasterimage/) methods. |
146
146
|[normalize_angle(resize_proportionally, background_color)](#normalize_angle_resize_proportionally_background_color_73)| Normalizes the angle.<br/> This method is applicable to scanned text documents to get rid of the skewed scan.<br/> This method uses [RasterImage.get_skew_angle()](/imaging/python-net/aspose.imaging/rasterimage/) and [RasterImage.rotate(angle, resize_proportionally, background_color)](/imaging/python-net/aspose.imaging/rasterimage/) methods. |
147
+
| normalize_histogram() | Normalizes the image histogram — adjust pixel values to use all available range. |
147
148
|[read_argb_32_scan_line(scan_line_index)](#read_argb_32_scan_line_scan_line_index_74)| Reads the whole scan line by the specified scan line index. |
148
149
|[read_scan_line(scan_line_index)](#read_scan_line_scan_line_index_75)| Reads the whole scan line by the specified scan line index. |
149
150
| remove_metadata() | Removes this image instance metadata by setting this [IHasXmpData.xmp_data](/imaging/python-net/aspose.imaging.xmp/ihasxmpdata/) value to **None**. |
@@ -3252,7 +3253,7 @@ with Image.load(r"c:\temp\sample.bmp") as image:
3252
3253
3253
3254
```
3254
3255
3255
-
### Compress BMP image using DXT1 compression algorithm. {#example_152}
3256
+
### Compress BMP image using DXT1 compression algorithm. {#example_171}
@@ -1448,7 +1448,7 @@ Customize the color palette of the image with this intuitive method. Ideal for<b
1448
1448
| update_colors | bool | if set to <c>true</c> colors will be updated according to the new palette; otherwise color<br/> indexes remain unchanged. Note that unchanged indexes may crash the image on loading if some indexes have no<br/> corresponding palette entries. |
1449
1449
1450
1450
## **Examples**
1451
-
### The following example shows how to cache all pages of a CDR image. {#example_139}
1451
+
### The following example shows how to cache all pages of a CDR image. {#example_152}
@@ -1449,7 +1449,7 @@ Customize the color palette of the image with this intuitive method. Ideal for<b
1449
1449
| update_colors | bool | if set to <c>true</c> colors will be updated according to the new palette; otherwise color indexes remain unchanged. Note that unchanged indexes may crash the image on loading if some indexes have no corresponding palette entries. |
1450
1450
1451
1451
## **Examples**
1452
-
### The following example shows how to cache all pages of a CMX image. {#example_143}
1452
+
### The following example shows how to cache all pages of a CMX image. {#example_153}
0 commit comments