Table of Contents

Class MagickImageInfoFactory

Namespace
ImageMagick
Assembly
Magick.NET-Q16-AnyCPU.dll

Class that can be used to create ImageMagick.IMagickImageInfo instances.

public sealed class MagickImageInfoFactory : IMagickImageInfoFactory<ushort>, IMagickImageInfoFactory
Inheritance
MagickImageInfoFactory
Implements
IMagickImageInfoFactory<ushort>
IMagickImageInfoFactory
Inherited Members

Constructors

MagickImageInfoFactory()

public MagickImageInfoFactory()

Methods

Create()

Initializes a new instance that implements ImageMagick.IMagickImageInfo.

public IMagickImageInfo Create()

Returns

IMagickImageInfo

A new ImageMagick.IMagickImageInfo instance.

Create(byte[])

Initializes a new instance that implements ImageMagick.IMagickImageInfo.

public IMagickImageInfo Create(byte[] data)

Parameters

data byte[]

The byte array to read the information from.

Returns

IMagickImageInfo

A new ImageMagick.IMagickImageInfo instance.

Exceptions

ImageMagick.MagickException

Thrown when an error is raised by ImageMagick.

Create(byte[], IMagickReadSettings<ushort>?)

Initializes a new instance that implements ImageMagick.IMagickImageInfo.

public IMagickImageInfo Create(byte[] data, IMagickReadSettings<ushort>? readSettings)

Parameters

data byte[]

The byte array to read the information from.

readSettings IMagickReadSettings<ushort>

The settings to use when reading the image.

Returns

IMagickImageInfo

A new ImageMagick.IMagickImageInfo instance.

Exceptions

ImageMagick.MagickException

Thrown when an error is raised by ImageMagick.

Create(byte[], int, int)

Initializes a new instance that implements ImageMagick.IMagickImageInfo.

public IMagickImageInfo Create(byte[] data, int offset, int count)

Parameters

data byte[]

The byte array to read the information from.

offset int

The offset at which to begin reading data.

count int

The maximum number of bytes to read.

Returns

IMagickImageInfo

A new ImageMagick.IMagickImageInfo instance.

Exceptions

ImageMagick.MagickException

Thrown when an error is raised by ImageMagick.

Create(byte[], int, int, IMagickReadSettings<ushort>?)

Initializes a new instance that implements ImageMagick.IMagickImageInfo.

public IMagickImageInfo Create(byte[] data, int offset, int count, IMagickReadSettings<ushort>? readSettings)

Parameters

data byte[]

The byte array to read the information from.

offset int

The offset at which to begin reading data.

count int

The maximum number of bytes to read.

readSettings IMagickReadSettings<ushort>

The settings to use when reading the image.

Returns

IMagickImageInfo

A new ImageMagick.IMagickImageInfo instance.

Exceptions

ImageMagick.MagickException

Thrown when an error is raised by ImageMagick.

Create(FileInfo)

Initializes a new instance that implements ImageMagick.IMagickImageInfo.

public IMagickImageInfo Create(FileInfo file)

Parameters

file FileInfo

The file to read the image from.

Returns

IMagickImageInfo

A new ImageMagick.IMagickImageInfo instance.

Exceptions

ImageMagick.MagickException

Thrown when an error is raised by ImageMagick.

Create(FileInfo, IMagickReadSettings<ushort>?)

Initializes a new instance that implements ImageMagick.IMagickImageInfo.

public IMagickImageInfo Create(FileInfo file, IMagickReadSettings<ushort>? readSettings)

Parameters

file FileInfo

The file to read the image from.

readSettings IMagickReadSettings<ushort>

The settings to use when reading the image.

Returns

IMagickImageInfo

A new ImageMagick.IMagickImageInfo instance.

Exceptions

ImageMagick.MagickException

Thrown when an error is raised by ImageMagick.

Create(Stream)

Initializes a new instance that implements ImageMagick.IMagickImageInfo.

public IMagickImageInfo Create(Stream stream)

Parameters

stream Stream

The stream to read the image data from.

Returns

IMagickImageInfo

A new ImageMagick.IMagickImageInfo instance.

Exceptions

ImageMagick.MagickException

Thrown when an error is raised by ImageMagick.

Create(Stream, IMagickReadSettings<ushort>?)

Initializes a new instance that implements ImageMagick.IMagickImageInfo.

public IMagickImageInfo Create(Stream stream, IMagickReadSettings<ushort>? readSettings)

Parameters

stream Stream

The stream to read the image data from.

readSettings IMagickReadSettings<ushort>

The settings to use when reading the image.

Returns

IMagickImageInfo

A new ImageMagick.IMagickImageInfo instance.

Exceptions

ImageMagick.MagickException

Thrown when an error is raised by ImageMagick.

Create(string)

Initializes a new instance that implements ImageMagick.IMagickImageInfo.

public IMagickImageInfo Create(string fileName)

Parameters

fileName string

The fully qualified name of the image file, or the relative image file name.

Returns

IMagickImageInfo

A new ImageMagick.IMagickImageInfo instance.

Exceptions

ImageMagick.MagickException

Thrown when an error is raised by ImageMagick.

Create(string, IMagickReadSettings<ushort>?)

Initializes a new instance that implements ImageMagick.IMagickImageInfo.

public IMagickImageInfo Create(string fileName, IMagickReadSettings<ushort>? readSettings)

Parameters

fileName string

The fully qualified name of the image file, or the relative image file name.

readSettings IMagickReadSettings<ushort>

The settings to use when reading the image.

Returns

IMagickImageInfo

A new ImageMagick.IMagickImageInfo instance.

Exceptions

ImageMagick.MagickException

Thrown when an error is raised by ImageMagick.