DicomImage image = new DicomImage("path_to_your_dicom_image");
int width = 512;
int height = 512;
Size size = new Size(width, height);
Matrix matrix = new Matrix();
matrix.Scale(1.5f, 1.5f); // Scale 1.5x in both width and height
// Basic bitmap call with predefined size to retrieve 10th frame of a multiframe image
var bitmap = image.Bitmap(size, PixelFormat.Format24bppRgb, new Matrix(), 10);
// A Matrix applied
var bitmap = image.Bitmap(size, PixelFormat.Format24bppRgb, matrix, 1);
var originalWidth = Convert.ToInt16(image.DataSet[Keyword.Columns].Value);
var originalHeight = Convert.ToInt16(image.DataSet[Keyword.Rows].Value);
Size originalSize = new Size(originalWidth, originalHeight);
// Original Image Size
var bitmap = image.Bitmap(originalSize, PixelFormat.Format24bppRgb, new Matrix(), 1);
bitmap.Save("path_to_save_location_image.bmp");