iccfind

Search for ICC profiles

Syntax

P = iccfind(directory)
[P, descriptions] = iccfind(directory)
[...] = iccfind(directory, pattern)

Description

P = iccfind(directory) searches for all of the ICC profiles in the directory specified by directory. The function returns P, a cell array of structures containing profile information.

[P, descriptions] = iccfind(directory) searches for all of the ICC profiles in the specified directory and returns P, a cell array of structures containing profile information, and descriptions, a cell array of text strings, where each string describes the corresponding profile in P. Each text string is the value of the Description.String field in the profile information structure.

[...] = iccfind(directory, pattern) returns all of the ICC profiles in the specified directory with the given pattern in their Description.String fields. iccfind performs case-insensitive pattern matching.

    Note   To improve performance, iccfind caches copies of the ICC profiles in memory. Adding or modifying profiles might not change the results of iccfind. To clear the cache, use the clear functions command.

Examples

Get all the ICC profiles in the default system directory where profiles are stored.

profiles = iccfind(iccroot);

Get a listing of all the ICC profiles with text strings that describe each profile.

[profiles, descriptions ] = iccfind(iccroot);

Find the profiles whose descriptions contain the text string RGB.

[profiles, descriptions] = iccfind(iccroot, 'rgb');
Was this topic helpful?