picturebox的backColor属性设置成baiColor.Transparent 然后设置picturebox.Parent = 父容器;

using (FileStream fs = new FileStream(@"1.jpg", FileMode.Open, FileAccess.Read)) { System.Drawing.Image image = System.Drawing.Image.FromStream(fs); string width = image.Width.ToString(); string height = image.Height.ToString(); }