Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Queries details on a colorspace.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 6.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.GetColorSpaceInfo"; PDF; Index; Selector )   More


Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
Index The index of the colorspace.
From 0 to DynaPDF.GetColorSpaceCount-1.
Selector Which value to return. "Type"


Returns value or error.


Queries details on a colorspace.
You can query Type, Alternate, Size (byte size of ICC Profile), Buffer (ICC Profile), NumInComponents, NumOutComponents, NumColors, ColorantsCount, Colorants (names of colorants as list), MetadataSize, Metadata (XMP metadata as text).

See also GetColorSpaceInfo function in DynaPDF manual.

See also

Example Databases

Blog Entries

This function checks for a license.

Created 19th July 2016, last changed 19th July 2016

DynaPDF.GetColorSpaceCount - DynaPDF.GetColorSpacesAsJSON