Class ImageExtensions
Inheritance
System.Object
ImageExtensions
Namespace: Eco.Gameplay.Systems.UserTextures
Assembly: Eco.Gameplay.dll
Syntax
public static class ImageExtensions : Object
Methods
ToByteArray(Image, ImageFormat)
Declaration
public static byte[] ToByteArray(this Image image, ImageFormat format)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Drawing.Image | image | |
| System.Drawing.Imaging.ImageFormat | format |
Returns
| Type | Description |
|---|---|
| System.Byte[] |