DicomObjects Reference
DicomObjects Reference / DicomImage Object / FileExport Method
The name of the file to write.

The type of export operation to perform.

(If Type is omitted, it is assumed to equal the extension of the filename.  It must be stated for the other operations)

Further information necessary for the export.
In This Topic
    FileExport Method
    In This Topic
    Description
    Export an image to a file
    Syntax
    Visual Basic
    Public Sub FileExport( _
       ByVal FileName As String, _
       ByVal Type As String, _
       Optional ByVal Information As Variant _
    ) 
    Parameters
    FileName
    The name of the file to write.
    Type

    The type of export operation to perform.

    (If Type is omitted, it is assumed to equal the extension of the filename.  It must be stated for the other operations)

    Information
    Further information necessary for the export.
    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