Table of Contents

Class ImageHelper

Namespace
Stride.Graphics
Assembly
Stride.dll
public class ImageHelper
Inheritance
ImageHelper

Methods

LoadFromMemory(IntPtr, int, bool, GCHandle?)

public static Image LoadFromMemory(IntPtr pSource, int size, bool makeACopy, GCHandle? handle)

Parameters

pSource IntPtr
size int
makeACopy bool
handle GCHandle?

Returns

Image

SaveFromMemory(PixelBuffer[], int, ImageDescription, Stream)

public static void SaveFromMemory(PixelBuffer[] pixelBuffers, int count, ImageDescription description, Stream imageStream)

Parameters

pixelBuffers PixelBuffer[]
count int
description ImageDescription
imageStream Stream