Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4   10.5    Statistic    FMM    Blog  

DynaPDF.GetColorSpaceAsJSON

Queries one color space as JSON object.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 10.5 Yes Yes Yes Yes Yes
MBS( "DynaPDF.GetColorSpaceAsJSON"; PDF; Index )   More

Parameters

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

Result

Returns JSON or error.

Description

Queries one color space as JSON object.
See TExtColorSpace structure in DynaPDF manual, which we convert to JSON for you.

Keys include Type, Alternate, AlternateColorSpace, BufSize, BlackPoint, WhitePoint, NumComponents, NumInComponents, NumOutComponents, Gamma, Range, Matrix, NumColors, ColorantsCount, Colorants, MetadataSize, Metadata, Attributes and Index.

See also

Blog Entries

Release notes

  • Version 10.5
    • Added DynaPDF.GetAnnotationAsJSON, DynaPDF.GetColorSpaceAsJSON, DynaPDF.GetEmbeddedFileAsJSON, DynaPDF.GetFieldAsJSON and DynaPDF.GetFontAsJSON functions.

Created 19th September 2020, last changed 19th September 2020


DynaPDF.GetColorSpace   -   DynaPDF.GetColorSpaceCount

Feedback: Report problem or ask question.




Links
MBS FileMaker blog