InsertImageNoRecompression Method

Summary
Inserts an image file into the dataset without recompressing it, saving memory/processing time.
Syntax
C#
C++/CLI
public static void InsertImageNoRecompression( 
   this DicomDataSet ds, 
   string source 
) 
[ExtensionAttribute()] 
public: 
static void InsertImageNoRecompression(  
   DicomDataSet^ ds, 
   String^ source 
)  

Parameters

ds
DICOM dataset where insertion takes place

source
Filename of the raster image source file to insert into the dataset

Remarks

Under certain conditions this method can fail (for example, if the file being inserted is not compatible with DICOM dataset pixel data specifications, or it needs to be recompressed). Under such conditions use low-level image-inserting API functions (for example, Leadtools.Dicom.DicomDataSet.InsertImage).

Requirements

Target Platforms

Help Version 22.0.2023.1.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Common Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.