Show / Hide Table of Contents

Class BitmapExtensions

Inheritance
System.Object
BitmapExtensions
Namespace: Eco.Simulation.WorldLayers.History
Assembly: Eco.Simulation.dll
Syntax
public static class BitmapExtensions : Object

Methods

CopyTo(Bitmap, Byte[])

Declaration
public static void CopyTo(this Bitmap bmp, byte[] output)
Parameters
Type Name Description
System.Drawing.Bitmap bmp
System.Byte[] output

CopyTo(Stream, String)

Declaration
public static void CopyTo(this Stream input, string fileName)
Parameters
Type Name Description
System.IO.Stream input
System.String fileName

GetFinalBitmap(Image)

Declaration
public static Bitmap GetFinalBitmap(this Image img)
Parameters
Type Name Description
System.Drawing.Image img
Returns
Type Description
System.Drawing.Bitmap

LoadFrom(Bitmap, Byte[])

Declaration
public static void LoadFrom(this Bitmap bmp, byte[] input)
Parameters
Type Name Description
System.Drawing.Bitmap bmp
System.Byte[] input

ToArray(Stream)

Declaration
public static byte[] ToArray(this Stream input)
Parameters
Type Name Description
System.IO.Stream input
Returns
Type Description
System.Byte[]
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾