Converts images to and from xtd::drawing::image class. This class cannot be inherited.
Converts images to and from xtd::drawing::image class. This class cannot be inherited.
Definition image_converter.hpp:28
#define drawing_export_
Define shared library export.
Definition drawing_export.hpp:13
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.hpp:37
- Inheritance
- xtd::static_object → xtd::drawing::image_converter
- Namespace
- xtd::drawing
- Library
- xtd.drawing
◆ from_base64_string()
Convert specified base64 string to image.
- Parameters
-
value | A base64 string that contains the image. |
- Returns
- The converted image from base64 string.
◆ to_array()
Convert specified image to byte array.
- Parameters
-
value | The image to convert into byte array. |
- Returns
- A byte array that contains the image.
◆ to_base64_string()
Convert specified image to base64 string.
- Parameters
-
value | The image to convert into base64 string. |
- Returns
- A base64 string that contains the image.
◆ to_file() [1/2]
Convert specified image to file.
- Parameters
-
value | The image to convert into base64 string. |
filename | A string that contains the name of the file to which to save this xtd::drawing::image. |
◆ to_file() [2/2]
Convert specified image to file.
- Parameters
-
◆ to_image() [1/4]
Convert specified byte array to image.
- Parameters
-
value | A byte array that contains the image. |
- Returns
- The converted image from byte array.
◆ to_image() [2/4]
Convert specified bytes span to image.
- Parameters
-
value | A bytes span that contains the image. |
- Returns
- The converted image from byte array.
◆ to_image() [3/4]
Convert specified file name string.
- Parameters
-
filename | A file name string that contains the image. |
- Returns
- The converted image from file name string.
◆ to_image() [4/4]
Convert specified stream to image.
- Parameters
-
stream | The input stream that contains the image. |
- Returns
- The converted image from stream.
◆ to_stream()
Convert specified image to stream.
- Parameters
-
The documentation for this class was generated from the following file: