←Select platform

WriteToImage(Stream,Int32) 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

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