1
我在这里有一张宽度为2008px的照片。如果我读这幅画使用WPF验证码:WPF中错误的照片尺寸
byte[] baSource = File.ReadAllBytes(strFileName);
using (Stream streamPhoto = new MemoryStream(baSource))
{
BitmapFrame bfPhoto = ReadBitmapFrame(streamPhoto);
Console.WriteLine(bfPhoto.Width); }
它告诉我的图片是52607,9686523093px宽度。我不明白为什么。 (同为heigtht)
Ahh allright .. tahnk你解决了这个问题 – Martin 2010-11-07 15:43:55