InsertImageNoRecompression Method

Summary

Inserts an image file into the dataset without recompressing it, saving memory/processing time.

Syntax
C#
VB
C++
public static void InsertImageNoRecompression( 
   this DicomDataSet ds, 
   string source 
) 
<ExtensionAttribute()> 
Public Shared Sub InsertImageNoRecompression( _ 
   ByVal ds As DicomDataSet, _ 
   ByVal source As String _ 
)  
[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 20.0.2019.3.12
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Common Assembly