←Select platform

ImageHasIccProfile(Stream,int) Method

Summary

Determines whether a stream has an embedded ICC profile.

Syntax

C#
VB
C++
public static bool ImageHasIccProfile( 
   Stream stream, 
   int pageNumber 
) 
  
Public Overloads Shared Function ImageHasIccProfile( _ 
   ByVal stream As Stream, _ 
   ByVal pageNumber As Integer _ 
) As Boolean 
public: 
static bool ImageHasIccProfile(  
   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.

Return Value

true if this stream has an embedded ICC Profile; false, if it does not.

Remarks
  • JPEG, TIFF, PSD and EPS files can have ICC profiles. To check the profile of a specific page in a multipage stream, use the pageNumber parameter.
Example

For an example, refer to IccProfileExtended.

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