←Select platform

ImageHasIccProfile(string,int) Method

Summary
Determines whether a file has an embedded ICC profile.
Syntax
C#
VB
C++
public static bool ImageHasIccProfile( 
   string fileName, 
   int pageNumber 
) 
  
Public Overloads Shared Function ImageHasIccProfile( _ 
   ByVal fileName As String, _ 
   ByVal pageNumber As Integer _ 
) As Boolean 
public: 
static bool ImageHasIccProfile(  
   String^ fileName, 
   int pageNumber 
)  

Parameters

fileName
Character string containing the name of the file that contains the embedded ICC profile.

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

Return Value

true if this file has an ICC Profile; false, otherwise.

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

true if this file has an ICC Profile; false, otherwise.

Example

For an example, refer to IccProfileExtended.

Requirements

Target Platforms

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ColorConversion Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.