C# 클래스 GR.Imaging.BitmapIO

파일 보기 프로젝트 열기: alexhanh/Botting-Library

공개 메소드들

메소드 설명
LoadFromDirectory ( string directory ) : List
SaveToFile ( FastBitmap bitmap, string filepath ) : void

Saves to file but does not overwrite filename if it already exists, it insted adds a new number to the end.

SaveToFiles ( ICollection bitmaps, string directory ) : void
SaveToFiles ( ICollection bitmaps, string directory, string prefix ) : void

Saves image collection to given directory. Directory, with sub-folders, will be created if it does not exist. Filenames of the images will be prefixed with the given prefix and use a simple numbering naming convention, ie. "prefix_count.bmp". This will overwrite any existing files with the same name.

메소드 상세

LoadFromDirectory() 공개 정적인 메소드

public static LoadFromDirectory ( string directory ) : List
directory string
리턴 List

SaveToFile() 공개 정적인 메소드

Saves to file but does not overwrite filename if it already exists, it insted adds a new number to the end.
public static SaveToFile ( FastBitmap bitmap, string filepath ) : void
bitmap FastBitmap
filepath string
리턴 void

SaveToFiles() 공개 정적인 메소드

public static SaveToFiles ( ICollection bitmaps, string directory ) : void
bitmaps ICollection
directory string
리턴 void

SaveToFiles() 공개 정적인 메소드

Saves image collection to given directory. Directory, with sub-folders, will be created if it does not exist. Filenames of the images will be prefixed with the given prefix and use a simple numbering naming convention, ie. "prefix_count.bmp". This will overwrite any existing files with the same name.
public static SaveToFiles ( ICollection bitmaps, string directory, string prefix ) : void
bitmaps ICollection
directory string Directory should be given as absolute ("C:/Foo/Bar/") or relative ("Foo/Bar/").
prefix string
리턴 void