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.

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');

See Also

iccread, iccroot, iccwrite

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS