←Select platform

InsertImageNoRecompression Method

Summary

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

Syntax

C#
VB
C++
[ExtensionAttribute()] 
public static void InsertImageNoRecompression(  
   Leadtools.Dicom.DicomDataSet ds, 
   string source 
) 
<ExtensionAttribute()> 
Public Shared Sub InsertImageNoRecompression( _ 
   ByVal ds As Leadtools.Dicom.DicomDataSet, _ 
   ByVal source As String _ 
)  
[ExtensionAttribute()] 
public: 
static void InsertImageNoRecompression(  
   Leadtools.Dicom.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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Dicom.Common Assembly
Click or drag to resize