public Size GetImageDimension(){InternalWorkbook iwb = (_patriarch.Sheet.Workbook as HSSFWorkbook).Workbook;EscherBSERecord bse = iwb.GetBSERecord(PictureIndex);byte[] data = bse.BlipRecord.PictureData;using (MemoryStream ms = new MemoryStream(data)){using (Image img = Image.FromStream(ms)){return img.Size;}}}