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
|[resize(new_width, new_height)](#resize_new_width_new_height_40)| Resizes the image. The default [ResizeType.NEAREST_NEIGHBOUR_RESAMPLE](/imaging/python-net/aspose.imaging/resizetype/) is used. |
91
91
|[resize(new_width, new_height, resize_type)](#resize_new_width_new_height_resize_type_41)| Resizes the specified new width. |
92
-
|[resize(new_width, new_height, settings)](#resize_new_width_new_height_settings_42)| Resizes the image. |
92
+
|[resize(new_width, new_height, settings)](#resize_new_width_new_height_settings_42)| Resizes the image with extended options. |
93
93
|[resize_by_settings(new_width, new_height, settings)](#resize_by_settings_new_width_new_height_settings_43)| Resizes the image. |
94
94
|[resize_by_type(new_width, new_height, resize_type)](#resize_by_type_new_width_new_height_resize_type_44)| Resizes the image. |
95
95
|[resize_height_proportionally(new_height)](#resize_height_proportionally_new_height_45)| Resizes the height proportionally. The default [ResizeType.NEAREST_NEIGHBOUR_RESAMPLE](/imaging/python-net/aspose.imaging/resizetype/) is used. |
@@ -1042,7 +1042,7 @@ Resizes the specified new width.
|[get_fitting_rectangle(rectangle, pixels, width, height)](#get_fitting_rectangle_rectangle_pixels_width_height_44)| Gets rectangle which fits the current image. |
120
120
|[get_fitting_rectangle(rectangle, width, height)](#get_fitting_rectangle_rectangle_width_height_45)| Gets rectangle which fits the current image. |
121
121
|[get_modify_date(use_default)](#get_modify_date_use_default_46)| Retrieves the date and time when the resource image underwent its latest <br/> modification. This method provides valuable metadata, enabling users to track and <br/> manage updates to the image file effectively. By accessing this information, users <br/> can ensure the integrity and currency of their image assets, facilitating informed <br/> decision-making regarding image usage and maintenance. |
122
-
|[get_original_options()](#get_original_options__47)| Gets the options based on the original file settings.<br/> This can be helpful to keep bit-depth and other parameters of the original image unchanged.<br/> For example, if we load a black-white PNG image with 1 bit per pixel and then save it using the<br/> [DataStreamSupporter.save(file_path)](/imaging/python-net/aspose.imaging/datastreamsupporter/) method, the output PNG image with 8-bit per pixel will be produced.<br/> To avoid it and save PNG image with 1-bit per pixel, use this method to get corresponding saving options and pass them<br/> to the [Image.save(file_path, options)](/imaging/python-net/aspose.imaging/image/)method as the second parameter. |
122
+
|[get_original_options()](#get_original_options__47)| Gets the original image options of this [Image](/imaging/python-net/aspose.imaging/image/)instance. |
123
123
|[get_pixel(x, y)](#get_pixel_x_y_48)| Gets an image pixel. |
124
124
|[get_proportional_height(width, height, new_width)](#get_proportional_height_width_height_new_width_49)| Gets a proportional height. |
125
125
|[get_proportional_width(width, height, new_height)](#get_proportional_width_width_height_new_height_50)| Gets a proportional width. |
@@ -1228,13 +1228,13 @@ Retrieves the date and time when the resource image underwent its latest <br/>
1228
1228
get_original_options()
1229
1229
```
1230
1230
1231
-
Gets the options based on the original file settings.<br/> This can be helpful to keep bit-depth and other parameters of the original image unchanged.<br/> For example, if we load a black-white PNG image with 1 bit per pixel and then save it using the<br/> [DataStreamSupporter.save(file_path)](/imaging/python-net/aspose.imaging/datastreamsupporter/) method, the output PNG image with 8-bit per pixel will be produced.<br/> To avoid it and save PNG image with 1-bit per pixel, use this method to get corresponding saving options and pass them<br/> to the [Image.save(file_path, options)](/imaging/python-net/aspose.imaging/image/)method as the second parameter.
1231
+
Gets the original image options of this [Image](/imaging/python-net/aspose.imaging/image/)instance.
1232
1232
1233
1233
**Returns**
1234
1234
1235
1235
| Type | Description |
1236
1236
| :- | :- |
1237
-
|[ImageOptionsBase](/imaging/python-net/aspose.imaging/imageoptionsbase)|The options based on the original file settings. |
1237
+
|[ImageOptionsBase](/imaging/python-net/aspose.imaging/imageoptionsbase)|A clone of original image options. |
0 commit comments