摘要:
/// <summary> /// 保存图像到本地 /// </summary> /// <param name="wtbBmp"></param> /// <param name="name"></param> /// <param name="strDir"></param> /// <retu 阅读全文
摘要:
/// <summary> /// 复制指定矩形中的位图像素数据 /// </summary> /// <param name="source"></param> /// <param name="stride"></param> /// <returns></returns> public sta 阅读全文
摘要:
/// <summary> /// ConvertBitmap8To24 process. /// 8位灰度图转24色位图 /// </summary> /// <param name="src">Source image.</param> /// <returns></returns> publi 阅读全文
摘要:
/// <summary> /// ConvertBitmap24To8 process. /// 24色位图转8位灰度图像处理 /// </summary> /// <param name="src">Source image.</param> /// <returns></returns> pu 阅读全文
摘要:
/// <summary> /// WriteableBitmap转Bitmap图像 /// </summary> /// <param name="wBitmap"></param> /// <returns></returns> public static Bitmap WriteableBit 阅读全文
摘要:
/// <summary> /// 反序列化 /// </summary> /// <param name="filePath">文件路径</param> /// <returns></returns> public static List<T> JsonToList<T>(string fileP 阅读全文
摘要:
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <Style x 阅读全文
摘要:
public static string ConvertBytesToString(byte[] bytes, int datalen) { string msg = ""; for (int i = 0; i < datalen; i++) { int value = Convert.ToInt3 阅读全文
摘要:
public static byte[] ConvertStringToBytes(String str) { List<byte> listBytes = new List<byte>(); string[] hexValuesSplit = str.Trim().Split(' '); fore 阅读全文