摘要:
//C#快速获取JPG图片大小及英寸分辨率 public static int getJpgSize(string FileName, out Size JpgSize, out float Wpx, out float Hpx) {//C#快速获取JPG图片大小及英寸分辨率 JpgSize = new Size(0, 0); Wpx = 0; Hpx = 0; int rx = 0; if (!File.Exists(FileName)) return rx; FileStream F_Stream = File.OpenRead(FileName); int ff = F_Stream.. 阅读全文