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.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
GMImage.SetClassType
Sets the Image class.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| GraphicsMagick | 2.0 | Yes | Yes | Yes | Yes | Yes |
MBS( "GMImage.SetClassType"; ImageRef; classtype ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| ImageRef | The image reference number. | 1 |
| classtype | The class type number | 2 |
Result
Returns "OK" on success.
Description
Sets the Image class.setting a DirectClass image to PseudoClass will result in the loss of color information if the number of colors in the image is greater than the maximum palette size (either 256 or 65536 entries depending on the value of QuantumDepth when ImageMagick was built).
Value can be DirectClass = 1 or PseudoClass = 2.
See also
Created 18th August 2014, last changed 10th March 2020
GMImage.SetCacheThreshold - GMImage.SetColorFuzz
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins