Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

GMImage.GetQuantizeColorSpace

Gets the Colorspace to quantize in.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
GraphicsMagick 2.0 Yes Yes Yes Yes Yes

MBS( "GMImage.GetQuantizeColorSpace"; ImageRef )

Parameters

Parameter Description Example value
ImageRef The image reference number. 1

Result

Returns a number.

Description

Gets the Colorspace to quantize in.
UndefinedColorspace = 0, RGBColorspace = 1 (Plain old RGB colorspace), GRAYColorspace = 2 (Plain old full-range grayscale), TransparentColorspace = 3 (RGB but preserve matte channel during quantize), OHTAColorspace = 4, XYZColorspace = 5 (CIE XYZ), YCCColorspace = 6 (Kodak PhotoCD PhotoYCC), YIQColorspace = 7, YPbPrColorspace = 8, YUVColorspace = 9, CMYKColorspace = 10 (Cyan, magenta, yellow, black, alpha), sRGBColorspace = 11 (Kodak PhotoCD sRGB), HSLColorspace = 12 (Hue, saturation, luminosity), HWBColorspace = 13 (Hue, whiteness, blackness), LABColorspace = 14 (LAB colorspace not supported yet other than via lcms), CineonLogRGBColorspace = 15 (RGB data with Cineon Log scaling, 2.048 density range), Rec601LumaColorspace = 16 (Luma (Y) according to ITU-R 601), Rec601YCbCrColorspace = 17 (YCbCr according to ITU-R 601), Rec709LumaColorspace = 18 (Luma (Y) according to ITU-R 709), Rec709YCbCrColorspace = 19 (YCbCr according to ITU-R 709)

See also


GMImage.GetQuality   -   GMImage.GetQuantizeColors

Feedback: Report problem or ask question.




Links
MBS FileMaker blog