ImageGear .NET v25.2 - Updated
Developer Guide / How to Work with... / DICOM / Loading and Saving DICOM Images / Saving Multi-Page Images
In This Topic
    Saving Multi-Page Images
    In This Topic

    The DICOM format is not designed for an easy insertion of pages. The following issues exist:

    According to the above issues, DICOM format filter in ImageGear .NET has the following limitations:

    If any of the limitations is encountered, ImageGear throws an exception.

    To save a multipage image:

    1. Load an image to ImageGear .NET.
    2. Save image to a new file (or use OVERWRITE mode).
    3. Load next image to ImageGear .NET.
    4. Save image to existing file, using APPEND mode.
    5. Repeat steps 3 and 4 for all pages to be written.

    Alternatively, create an ImGearDocument Class and save to DICOM using the SaveDocument Method.