Tag: Capture

Making a copy of the image as displayed

DicomObjects.NET In order to use PrinterImage to make a complete copy of the image as displayed in the viewer, it is necessary to: Use the latest version of DicomObjects Calculate the size of the area being displayed Find the actual zoom of the image as currently displayed Scale the current size up to the equivalent in image units (divide by zoom) Likewise scale the image’s Offset to create correct position for the image in the new rectangle Call PrinterImage Note that the zoom used int he final PrinterImage call does not need to be the same as used above, and a higher quality output can be obtained by setting it to 1 (or higher to allow DicomObjects to do any interpolation), but that you may wish to modify the font size of any labels to compensate.

Continue reading..