类库说明文档
![]() | JHDrawing Class |
图像命名空间下的通用静态方法

Namespace: DCSoft.Utility.Drawing
Assembly: DCSoft.Utility (in DCSoft.Utility.dll) Version: 0.0.0.0 (1.0.0.0)

C#
public static class JHDrawing
The JHDrawing type exposes the following members.

Name | Description | |
---|---|---|
![]() ![]() | IsVerifyImage |
验证图片的文件路径和后缀名是否合法
|
![]() ![]() | ToBuffer |
图像对象转换为二进制数组
|
![]() ![]() | ToImage(Byte) |
二进制转换为图像对象
|
![]() ![]() | ToImage(Stream) |
文件流转换为图像对象
|
![]() ![]() | ToImage(String) |
文件转换为图像对象
|
![]() ![]() | ToImageFormat |
通过文件后缀获取图像格式
|
![]() ![]() | ToStream |
将图像对象转换为内存流
|
