Table of Contents

Class ImageTool

Namespace
DSharpPlus
Assembly
DSharpPlus.dll

Tool to detect image formats and convert from binary data to base64 strings.

public sealed class ImageTool
Inheritance
ImageTool

Constructors

ImageTool(Stream)

Creates a new image tool from given stream.

Properties

SourceStream

Gets the stream this tool is operating on.

Methods

Dispose()

Disposes this image tool.

GetBase64()

Converts this image into base64 data format string.

GetFormat()

Detects the format of this image.