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
| max_aperture_value |[TiffRational](/imaging/python-net/aspose.imaging.fileformats.tiff/tiffrational/)| r/w | Gets or sets the maximum aperture value. |
106
106
| metering_mode |[ExifMeteringMode](/imaging/python-net/aspose.imaging.exif.enums/exifmeteringmode/)| r/w | Gets or sets the metering mode. |
107
107
| oecf | byte | r/w | Gets or sets the Opto-Electric Conversion Function (OECF) specified in ISO 14524. |
108
+
| orientation |[ExifOrientation](/imaging/python-net/aspose.imaging.exif.enums/exiforientation/)| r/w | Gets or sets the orientation. |
108
109
| photographic_sensitivity | uint | r/w | Gets or sets the photographic sensitivity. |
109
110
| pixel_x_dimension | uint | r/w | Gets or sets the pixel x dimension. |
110
111
| pixel_y_dimension | uint | r/w | Gets or sets the pixel y dimension. |
|[get_fitting_rectangle(rectangle, pixels, width, height)](#get_fitting_rectangle_rectangle_pixels_width_height_26)| Gets rectangle which fits the current image. |
76
76
|[get_fitting_rectangle(rectangle, width, height)](#get_fitting_rectangle_rectangle_width_height_27)| Gets rectangle which fits the current image. |
77
77
|[get_missed_fonts()](#get_missed_fonts__28)| Returns the list of fonts which used inside metafile but not found. |
78
-
|[get_original_options()](#get_original_options__29)| 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. |
78
+
|[get_original_options()](#get_original_options__29)| Gets the original image options. |
79
79
|[get_proportional_height(width, height, new_width)](#get_proportional_height_width_height_new_width_30)| Gets a proportional height. |
80
80
|[get_proportional_width(width, height, new_height)](#get_proportional_width_width_height_new_height_31)| Gets a proportional width. |
81
81
|[get_serialized_stream(image_options, clipping_rectangle, page_number)](#get_serialized_stream_image_options_clipping_rectangle_page_number_32)| Converts to aps. |
|[save(file_path, options)](#save_file_path_options_59)| Saves the object's data to the specified file location in the specified file format according to save options. |
112
112
|[save(file_path, options, bounds_rectangle)](#save_file_path_options_bounds_rectangle_60)| Saves the object's data to the specified file location in the specified file format according to save options. |
113
113
|[save(file_path, over_write)](#save_file_path_over_write_61)| Saves the object's data to the specified file location. |
114
-
|[save(stream)](#save_stream_62)| Saves the data. |
114
+
|[save(stream)](#save_stream_62)| Saves the data to specified _stream_. |
115
115
|[save(stream, options_base)](#save_stream_options_base_63)| Saves the image's data to the specified stream in the specified file format according to save options. |
116
116
|[save(stream, options_base, bounds_rectangle)](#save_stream_options_base_bounds_rectangle_64)| Saves the image's data to the specified stream in the specified file format according to save options. |
117
117
|[save_to_stream(stream)](#save_to_stream_stream_65)| Saves the object's data to the specified stream. |
@@ -762,13 +762,13 @@ Returns the list of fonts which used inside metafile but not found.
762
762
get_original_options()
763
763
```
764
764
765
-
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.
765
+
Gets the original image options.
766
766
767
767
**Returns**
768
768
769
769
| Type | Description |
770
770
| :- | :- |
771
-
|[ImageOptionsBase](/imaging/python-net/aspose.imaging/imageoptionsbase)| The options based on the original file settings. |
771
+
|[ImageOptionsBase](/imaging/python-net/aspose.imaging/imageoptionsbase)| The original image options. |
|[save(file_path, options)](#save_file_path_options_59)| Saves the object's data to the specified file location in the specified file format according to save options. |
106
106
|[save(file_path, options, bounds_rectangle)](#save_file_path_options_bounds_rectangle_60)| Saves the object's data to the specified file location in the specified file format according to save options. |
107
107
|[save(file_path, over_write)](#save_file_path_over_write_61)| Saves the object's data to the specified file location. |
108
-
|[save(stream)](#save_stream_62)| Saves the object's data to the specified stream. |
108
+
|[save(stream)](#save_stream_62)| Saves the data to specified _stream_. |
109
109
|[save(stream, options_base)](#save_stream_options_base_63)| Saves the image's data to the specified stream in the specified file format according to save options. |
110
110
|[save(stream, options_base, bounds_rectangle)](#save_stream_options_base_bounds_rectangle_64)| Saves the image's data to the specified stream in the specified file format according to save options. |
111
111
|[save_to_stream(stream)](#save_to_stream_stream_65)| Saves the object's data to the specified stream. |
@@ -1327,13 +1327,13 @@ Saves the object's data to the specified file location.
1327
1327
save(stream)
1328
1328
```
1329
1329
1330
-
Saves the object's data to the specified stream.
1330
+
Saves the data to specified _stream_.
1331
1331
1332
1332
**Parameters:**
1333
1333
1334
1334
| Parameter | Type | Description |
1335
1335
| :- | :- | :- |
1336
-
| stream |_io.BufferedRandom | The stream to save the object's data to. |
Copy file name to clipboardExpand all lines: english/python-net/aspose.imaging.fileformats.png/pngfiltertype/_index.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -14,9 +14,9 @@ The png filter type.
14
14
## **Members**
15
15
|**Member name**|**Description**|
16
16
| :- | :- |
17
-
| ADAPTIVE | Adaptive filtering, means that saving process will choose most sutable filter for each data row. Best compression, slowest execution time. |
17
+
| ADAPTIVE | Adaptive filtering, means that saving process will choose most suitable filter for each data row. Best compression, slowest execution time. |
18
18
| AVG | The avg filter, means, that average filter will be applied to image data. |
19
19
| NONE | The null-filter, means no filtering for image data rows. |
20
20
| PAETH | The paeth predictor filter. |
21
-
| SUB | The sub filter, means substractive filtering will be applied to image data. |
22
-
| UP | The up filter, means row-by-row substraction filter will be applied. |
21
+
| SUB | The sub filter, means subtractive filtering will be applied to image data. |
22
+
| UP | The up filter, means row-by-row subtraction filter will be applied. |
|[get_fitting_rectangle(rectangle, pixels, width, height)](#get_fitting_rectangle_rectangle_pixels_width_height_27)| Gets rectangle which fits the current image. |
78
78
|[get_fitting_rectangle(rectangle, width, height)](#get_fitting_rectangle_rectangle_width_height_28)| Gets rectangle which fits the current image. |
79
79
|[get_missed_fonts()](#get_missed_fonts__29)| Returns the list of fonts which used inside metafile but not found. |
80
-
|[get_original_options()](#get_original_options__30)| 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. |
80
+
|[get_original_options()](#get_original_options__30)| Gets the original image options. |
81
81
|[get_post_script()](#get_post_script__31)| Access the PostScript data associated with the image, providing detailed <br/> information about its structure or content. Utilize this method to retrieve <br/> PostScript data for further analysis or processing within your application, <br/> enabling advanced functionality related to PostScript rendering or manipulation. |
82
82
|[get_proportional_height(width, height, new_width)](#get_proportional_height_width_height_new_width_32)| Gets a proportional height. |
83
83
|[get_proportional_width(width, height, new_height)](#get_proportional_width_width_height_new_height_33)| Gets a proportional width. |
|[save(file_path, options)](#save_file_path_options_61)| Saves the object's data to the specified file location in the specified file format according to save options. |
115
115
|[save(file_path, options, bounds_rectangle)](#save_file_path_options_bounds_rectangle_62)| Saves the object's data to the specified file location in the specified file format according to save options. |
116
116
|[save(file_path, over_write)](#save_file_path_over_write_63)| Saves the object's data to the specified file location. |
117
-
|[save(stream)](#save_stream_64)| Saves the data. |
117
+
|[save(stream)](#save_stream_64)| Saves the data to specified _stream_. |
118
118
|[save(stream, options_base)](#save_stream_options_base_65)| Saves the image's data to the specified stream in the specified file format according to save options. |
119
119
|[save(stream, options_base, bounds_rectangle)](#save_stream_options_base_bounds_rectangle_66)| Saves the image's data to the specified stream in the specified file format according to save options. |
120
120
|[save_to_stream(stream)](#save_to_stream_stream_67)| Saves the object's data to the specified stream. |
@@ -787,13 +787,13 @@ Returns the list of fonts which used inside metafile but not found.
787
787
get_original_options()
788
788
```
789
789
790
-
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.
790
+
Gets the original image options.
791
791
792
792
**Returns**
793
793
794
794
| Type | Description |
795
795
| :- | :- |
796
-
|[ImageOptionsBase](/imaging/python-net/aspose.imaging/imageoptionsbase)| The options based on the original file settings. |
796
+
|[ImageOptionsBase](/imaging/python-net/aspose.imaging/imageoptionsbase)| The original image options. |
| DEFAULT_COMPRESSION_LEVEL [static]| int | r | The default compression level. |
24
-
| bit_depth | byte | r/w | Gets or sets the bit depth values in range of 1, 2, 4, 8, 16.<br/> <br/><br/> Mind the next limits:<br/> <br/><br/>[PngColorType.GRAYSCALE](/imaging/python-net/aspose.imaging.fileformats.png/pngcolortype/), [PngColorType.INDEXED_COLOR](/imaging/python-net/aspose.imaging.fileformats.png/pngcolortype/)support bit depth of 1, 2, 4, 8.<br/> <br/><br/>[PngColorType.GRAYSCALE_WITH_ALPHA](/imaging/python-net/aspose.imaging.fileformats.png/pngcolortype/)supports bit depth of 8.<br/> <br/><br/>[PngColorType.TRUECOLOR](/imaging/python-net/aspose.imaging.fileformats.png/pngcolortype/), [PngColorType.TRUECOLOR_WITH_ALPHA](/imaging/python-net/aspose.imaging.fileformats.png/pngcolortype/) support bit depth of 8, 16.<br/> <br/> |
24
+
| bit_depth | byte | r/w | Gets or sets the bit depth values in range of 1, 2, 4, 8, 16.<br/> <br/><br/> Mind the next limits:<br/> <br/><br/>[PngColorType.INDEXED_COLOR](/imaging/python-net/aspose.imaging.fileformats.png/pngcolortype/)supports bit depth of 1, 2, 4, 8.<br/> <br/><br/>[PngColorType.GRAYSCALE](/imaging/python-net/aspose.imaging.fileformats.png/pngcolortype/), [PngColorType.GRAYSCALE_WITH_ALPHA](/imaging/python-net/aspose.imaging.fileformats.png/pngcolortype/)support bit depth of 8.<br/> <br/><br/>[PngColorType.TRUECOLOR](/imaging/python-net/aspose.imaging.fileformats.png/pngcolortype/), [PngColorType.TRUECOLOR_WITH_ALPHA](/imaging/python-net/aspose.imaging.fileformats.png/pngcolortype/) support bit depth of 8, 16.<br/> <br/> |
25
25
| buffer_size_hint | int | r/w | Gets or sets the buffer size hint which is defined max allowed size for all internal buffers. |
26
26
| color_type |[PngColorType](/imaging/python-net/aspose.imaging.fileformats.png/pngcolortype/)| r/w | Gets or sets the type of the color. |
27
27
| compression_level | int | r/w | Gets or sets the [PngImage](/imaging/python-net/aspose.imaging.fileformats.png/pngimage/) compression level in the range of 0-9. The higher the value - the more efficient the compression. |
| DEFAULT_COMPRESSION_LEVEL [static]| int | r | The default compression level. |
25
-
| bit_depth | byte | r/w | Gets or sets the bit depth values in range of 1, 2, 4, 8, 16.<br/> <br/><br/> Mind the next limits:<br/> <br/><br/>[PngColorType.GRAYSCALE](/imaging/python-net/aspose.imaging.fileformats.png/pngcolortype/), [PngColorType.INDEXED_COLOR](/imaging/python-net/aspose.imaging.fileformats.png/pngcolortype/)support bit depth of 1, 2, 4, 8.<br/> <br/><br/>[PngColorType.GRAYSCALE_WITH_ALPHA](/imaging/python-net/aspose.imaging.fileformats.png/pngcolortype/)supports bit depth of 8.<br/> <br/><br/>[PngColorType.TRUECOLOR](/imaging/python-net/aspose.imaging.fileformats.png/pngcolortype/), [PngColorType.TRUECOLOR_WITH_ALPHA](/imaging/python-net/aspose.imaging.fileformats.png/pngcolortype/) support bit depth of 8, 16.<br/> <br/> |
25
+
| bit_depth | byte | r/w | Gets or sets the bit depth values in range of 1, 2, 4, 8, 16.<br/> <br/><br/> Mind the next limits:<br/> <br/><br/>[PngColorType.INDEXED_COLOR](/imaging/python-net/aspose.imaging.fileformats.png/pngcolortype/)supports bit depth of 1, 2, 4, 8.<br/> <br/><br/>[PngColorType.GRAYSCALE](/imaging/python-net/aspose.imaging.fileformats.png/pngcolortype/), [PngColorType.GRAYSCALE_WITH_ALPHA](/imaging/python-net/aspose.imaging.fileformats.png/pngcolortype/)support bit depth of 8.<br/> <br/><br/>[PngColorType.TRUECOLOR](/imaging/python-net/aspose.imaging.fileformats.png/pngcolortype/), [PngColorType.TRUECOLOR_WITH_ALPHA](/imaging/python-net/aspose.imaging.fileformats.png/pngcolortype/) support bit depth of 8, 16.<br/> <br/> |
26
26
| buffer_size_hint | int | r/w | Gets or sets the buffer size hint which is defined max allowed size for all internal buffers. |
27
27
|[color_type](#color_type1)|[PngColorType](/imaging/python-net/aspose.imaging.fileformats.png/pngcolortype/)| r/w | Gets or sets the type of the color. |
28
28
|[compression_level](#compression_level2)| int | r/w | Gets or sets the [PngImage](/imaging/python-net/aspose.imaging.fileformats.png/pngimage/) compression level in the range of 0-9. The higher the value - the more efficient the compression. |
0 commit comments