←Select platform

WriteToImage(Stream,int) Method

Summary

Embeds an ICC profile into a stream.

Syntax

C#
VB
C++
public void WriteToImage( 
   Stream stream, 
   int pageNumber 
) 
  
Public Overloads Sub WriteToImage( _ 
   ByVal stream As Stream, _ 
   ByVal pageNumber As Integer _ 
)  
public: 
void WriteToImage(  
   Stream^ stream, 
   int pageNumber 
)  

Parameters

stream
The stream containing the ICC profile.

pageNumber
1-based index of the page within the file that contains the ICC profile.

Remarks
  • ICC profiles can be loaded from JPEG, TIFF or GIF files. To save a profile to a specific page of a multipage file, use the pageNumber parameter.
  • If the ICC was version 4.0 or 4.2, this method generates the profile id, and updates the data array.
Example

For an example, refer to WriteToImage(string,int32).

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ColorConversion Assembly