using Aurora.Api.DataType;
namespace VisionCommon {
///
/// 패턴 썸네일 유틸 틀래스
///
public static class ThumbnailUtil {
/// 썸네일 이미지 폭(가로)
public static int ImageWidth = 50;
/// 썸네일 이미지 높이(세로)
public static int ImageHeight = 50;
///
/// 썸네일의 이미지 사이즈 정보를 얻어온다.
///
/// 이미지 사이즈 정보
public static ImageSize GetImageSize() {
return new ImageSize() {
Width = ImageWidth,
Height = ImageHeight,
BitDepth = 8,
Channel = 3
};
}
///
/// 기본 썸네일 이미지
///
/// 썸네일 비트맵
public static System.Drawing.Bitmap GetDefaultImage() {
return new System.Drawing.Bitmap(ImageWidth, ImageHeight);
}
}
}