public static void getBitmapSize(Image image, out int imgWidth, out int imgHeight, bool inTwips) { imgWidth = image.Width; imgHeight = image.Height; }