DicomObjects Reference
DicomObjects Reference / DicomImage Object / MemoryExport Method
The type of export operation to perform.
Further information necessary for the export.
The length of the available memory block
In This Topic
    MemoryExport Method
    In This Topic
    Description
    Export an image to a global memory block
    Syntax
    Visual Basic
    Public Function MemoryExport( _
       ByVal Type As String, _
       ByVal Information As Variant, _
       ByRef Length As Long _
    ) As Integer
    Parameters
    Type
    The type of export operation to perform.
    Information
    Further information necessary for the export.
    Length
    The length of the available memory block
    Remarks

    Only JPEG and BMP/DIB formats are supported directly, but other formats such as TIFF may be supported via extension DLLs.

    The following applies to JPEG file import:

    • The Type parameter must be JPEG or JPG
    • The Information parameter must contain an integer up to 100, which controls the quality of the resulting JPEG image.

    The following applies to DIB/BMP file export:

    • Data will be uncompressed.
    • If type is BMP, then a BMP file header is included at the start of the data.  If type is DIB, then no header is included.
    • The Type parameter must be DIB or BMP
    • The Information parameter is not used.

    See Import/Export DLLs for details of how to write and configure your own extension DLLs

    See Also