←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 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ColorConversion Assembly