问题
答案
thumbnailImage.Read(bytes, 0, length); thumbnailImage.Seek(0, SeekOrigin.Begin);//添加这句就可以了 userInfo.Photo = bytes;
标签:FileFormatException,图像,thumbnailImage,System,IO,已损坏 From: https://www.cnblogs.com/cdaniu/p/16907821.html
问题
答案
thumbnailImage.Read(bytes, 0, length); thumbnailImage.Seek(0, SeekOrigin.Begin);//添加这句就可以了 userInfo.Photo = bytes;
标签:FileFormatException,图像,thumbnailImage,System,IO,已损坏 From: https://www.cnblogs.com/cdaniu/p/16907821.html