C# 클래스 ImageMagick.MagickNET

Class that can be used to initialize Magick.NET.
파일 보기 프로젝트 열기: dlemstra/Magick.NET 1 사용 예제들

공개 메소드들

메소드 설명
GetFormatInformation ( FileInfo file ) : MagickFormatInfo

Returns the format information of the specified format based on the extension of the file.

GetFormatInformation ( MagickFormat format ) : MagickFormatInfo

Returns the format information of the specified format.

GetFormatInformation ( string fileName ) : MagickFormatInfo

Returns the format information of the specified format based on the extension of the file. If that fails the format will be determined by 'pinging' the file.

Initialize ( string path ) : void

Adds the specified path to the environment path. You should place the ImageMagick xml files in that directory.

SetGhostscriptDirectory ( string path ) : void

Sets the directory that contains the Ghostscript file gsdll32.dll / gsdll64.dll.

SetGhostscriptFontDirectory ( string path ) : void

Sets the directory that contains the Ghostscript font files.

SetLogEvents ( LogEvents events ) : void

Set the events that will be written to the log. The log will be written to the Log event and the debug window in VisualStudio. To change the log settings you must use a custom log.xml file.

SetRandomSeed ( int seed ) : void

Sets the pseudo-random number generator secret key.

SetTempDirectory ( string path ) : void

Sets the directory that will be used when ImageMagick does not have enough memory for the pixel cache.

비공개 메소드들

메소드 설명
CheckImageMagickFiles ( string path ) : void
OnLog ( UIntPtr type, IntPtr text ) : void
SetLogEvents ( ) : void

메소드 상세

GetFormatInformation() 공개 정적인 메소드

Returns the format information of the specified format based on the extension of the file.
public static GetFormatInformation ( FileInfo file ) : MagickFormatInfo
file System.IO.FileInfo The file to get the format for.
리턴 MagickFormatInfo

GetFormatInformation() 공개 정적인 메소드

Returns the format information of the specified format.
public static GetFormatInformation ( MagickFormat format ) : MagickFormatInfo
format MagickFormat The image format.
리턴 MagickFormatInfo

GetFormatInformation() 공개 정적인 메소드

Returns the format information of the specified format based on the extension of the file. If that fails the format will be determined by 'pinging' the file.
public static GetFormatInformation ( string fileName ) : MagickFormatInfo
fileName string The name of the file to get the format for.
리턴 MagickFormatInfo

Initialize() 공개 정적인 메소드

Adds the specified path to the environment path. You should place the ImageMagick xml files in that directory.
public static Initialize ( string path ) : void
path string The path that contains the ImageMagick xml files.
리턴 void

SetGhostscriptDirectory() 공개 정적인 메소드

Sets the directory that contains the Ghostscript file gsdll32.dll / gsdll64.dll.
public static SetGhostscriptDirectory ( string path ) : void
path string The path of the Ghostscript directory.
리턴 void

SetGhostscriptFontDirectory() 공개 정적인 메소드

Sets the directory that contains the Ghostscript font files.
public static SetGhostscriptFontDirectory ( string path ) : void
path string The path of the Ghostscript font directory.
리턴 void

SetLogEvents() 공개 정적인 메소드

Set the events that will be written to the log. The log will be written to the Log event and the debug window in VisualStudio. To change the log settings you must use a custom log.xml file.
public static SetLogEvents ( LogEvents events ) : void
events LogEvents The events that will be logged.
리턴 void

SetRandomSeed() 공개 정적인 메소드

Sets the pseudo-random number generator secret key.
public static SetRandomSeed ( int seed ) : void
seed int The secret key.
리턴 void

SetTempDirectory() 공개 정적인 메소드

Sets the directory that will be used when ImageMagick does not have enough memory for the pixel cache.
public static SetTempDirectory ( string path ) : void
path string The path where temp files will be written.
리턴 void