Platforms to show: All Mac Windows Linux Cross-Platform

Previous items Next items

GM16ImageMBS.fillColor as GM16ColorMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
property GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Color to use when filling drawn objects.
Example:
dim g as new GM16GeometryMBS(500,500)
dim c as new GM16ColorRGBMBS("white") // white
dim image as new GM16ImageMBS(g, c)

image.strokeColor = new GM16ColorRGBMBS("red") // Outline color
image.fillColor = new GM16ColorRGBMBS("green") // Fill color
image.strokeWidth = 5

dim draw as GM16GraphicsMBS = image.Graphics

// Draw a circle
draw.Circle(250, 250, 120, 150)

Backdrop=image.CopyPicture
Notes: (Read and Write property)

Feedback, Comments & Corrections

GM16ImageMBS.fillPattern as GM16ImageMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
property GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Pattern to use while filling drawn objects.
Notes: (Read and Write property)

Feedback, Comments & Corrections

GM16ImageMBS.fillRule as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
property GraphicsMagick MBS GraphicsMagick Plugin 16.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Rule to use when filling drawn objects
Notes: (Read and Write property)

Feedback, Comments & Corrections

GM16ImageMBS.filterType as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
property GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: The reduction filter employed has a sigificant effect on the time required to resize an image and the resulting quality. The default filter is Lanczos which has been shown to produce high quality results when reducing most images.
Notes:
Filter to use when resizing image.
(Read and Write property)

Feedback, Comments & Corrections

GM16ImageMBS.font as string
Type Topic Plugin Version macOS Windows Linux iOS Targets
property GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Text rendering font.
Notes:
If the font is a fully qualified X server font name, the font is obtained from an X server. To use a TrueType font, precede the TrueType filename with an @. Otherwise, specify a Postscript font name (e.g. "helvetica").
(Read and Write property)

Feedback, Comments & Corrections

GM16ImageMBS.FontFamily as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property GraphicsMagick MBS GraphicsMagick Plugin 20.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: The font family to use.
Notes:
The plugin will look through the list to find best match for combination of family, style, stretch and weight.
You can use either FontFamily or Font property, but not both.
Setting font family clears font.
(Read and Write property)

Feedback, Comments & Corrections

GM16ImageMBS.fontPointsize as Double
Type Topic Plugin Version macOS Windows Linux iOS Targets
property GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Text rendering font point size.
Notes: (Read and Write property)

Feedback, Comments & Corrections

GM16ImageMBS.FontStretch as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
property GraphicsMagick MBS GraphicsMagick Plugin 20.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: The font stretch.
Notes:
Can be Normal, UltraCondensed, ExtraCondensed, Condensed, SemiCondensed, SemiExpanded, Expanded, ExtraExpanded, UltraExpanded or Any.
See stretch constants.
(Read and Write property)

Feedback, Comments & Corrections

GM16ImageMBS.FontStyle as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
property GraphicsMagick MBS GraphicsMagick Plugin 20.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: The font style to use.
Notes:
Can be Normal, Italic, Oblique or Any.
See font style constants.
(Read and Write property)

Feedback, Comments & Corrections

GM16ImageMBS.FontWeight as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
property GraphicsMagick MBS GraphicsMagick Plugin 20.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: The font weight.
Notes:
The font weight in range from 0 to 1000.
400 is normal and 800 bold.
(Read and Write property)

Feedback, Comments & Corrections

GM16ImageMBS.format as string
Type Topic Plugin Version macOS Windows Linux iOS Targets
property GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Long image format description.
Notes: (Read only property)

Feedback, Comments & Corrections

GM16ImageMBS.gamma as Double
Type Topic Plugin Version macOS Windows Linux iOS Targets
property GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Gamma correct the image or individual image channels.
Example:
dim p as Picture = LogoMBS(500)
dim image as new GM16ImageMBS(p)

image.gamma = 3.0

Backdrop=image.CopyPicture
Notes:
If you get the value, it is the gamma level of the image. Gamma is a pow() function which converts between the linear light representation and the representation for the computer display. Most computer images are gamma corrected to 2.2 (1/0.4545) so that each step results in a visually linear step on a computer or video display:
(Read and Write property)

See also:

Feedback, Comments & Corrections

GM16ImageMBS.geometry as GM16GeometryMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
property GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Preferred size of the image when encoding.
Notes: (Read only property)

Feedback, Comments & Corrections

GM16ImageMBS.getConstIndexes as Ptr
Type Topic Plugin Version macOS Windows Linux iOS Targets
property GraphicsMagick MBS GraphicsMagick Plugin 16.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Obtain immutable image pixel indexes (valid for PseudoClass images)
Notes: (Read only property)

Feedback, Comments & Corrections

GM16ImageMBS.getIndexes as Ptr
Type Topic Plugin Version macOS Windows Linux iOS Targets
property GraphicsMagick MBS GraphicsMagick Plugin 16.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Obtain mutable image pixel indexes (valid for PseudoClass images)
Notes: (Read only property)

Feedback, Comments & Corrections

GM16ImageMBS.gifDisposeMethod as UInt32
Type Topic Plugin Version macOS Windows Linux iOS Targets
property GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: GIF disposal method.
Notes:
This option (specific to the GIF file format) is used to control how successive frames are rendered (how the preceding frame is disposed of) when creating a GIF animation.

ConstantDisposalDescription
UndefinedDispose0No disposal specified.
NoneDispose1Do not dispose between frames.
BackgroundDispose2Overwrite frame with background color from header.
PreviousDispose3Overwrite with previous frame.
(Read and Write property)

Feedback, Comments & Corrections

GM16ImageMBS.handle as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
property GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: The internal object reference.
Example:
dim c as new GM16ColorMBS("white")
dim g as new GM16GeometryMBS(100,100)
dim image as new GM16ImageMBS(g, c)
MsgBox hex(Image.handle) // valid if not zero
Notes: (Read and Write property)

Feedback, Comments & Corrections

GM16ImageMBS.height as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
property GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: The height of the image.
Example:
dim c as new GM16ColorRGBMBS(1.0,0.0,0.0)
dim size as new GM16GeometryMBS(100,100)
dim g as new GM16ImageMBS(size, c)

MsgBox str(g.width)+" "+str(g.height)
Notes:
This is a convenience function for you which calls size.height.
(Read only property)

Feedback, Comments & Corrections

GM16ImageMBS.iccColorProfile as GM16BlobMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
property GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: ICC color profile.
Example:
dim f as FolderItem = SpecialFolder.Desktop.Child("IMG_0793.tif")
dim Image as new GM16ImageMBS(f)
dim ProfileBlob as GM16BlobMBS = Image.iccColorProfile
dim ProfileData as string = ProfileBlob.CopyString
dim cm as LCMS2ProfileMBS = LCMS2ProfileMBS.OpenProfileFromString(ProfileData)
dim name as string = cm.Name

Break // check data in debugger
Notes:
Supplied via a Blob since Magick++/ and GraphicsMagick do not currently support formating this data structure directly. Specifications are available from the International Color Consortium for the format of ICC color profiles.
(Read and Write property)

Feedback, Comments & Corrections

GM16ImageMBS.interlaceType as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
property GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: The type of interlacing scheme (default NoInterlace ).
Notes:
This option is used to specify the type of interlacing scheme for raw image formats such as RGB or YUV. NoInterlace means do not interlace, LineInterlace uses scanline interlacing, and PlaneInterlace uses plane interlacing. PartitionInterlace is like PlaneInterlace except the different planes are saved to individual files (e.g. image.R, image.G, and image.B). Use LineInterlace or PlaneInterlace to create an interlaced GIF or progressive JPEG image.
(Read and Write property)

Feedback, Comments & Corrections

GM16ImageMBS.iptcProfile as GM16BlobMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
property GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: IPTC profile.
Notes:
Supplied via a Blob since Magick++ and GraphicsMagick do not currently support formating this data structure directly. Specifications are available from the International Press Telecommunications Council for IPTC profiles.
(Read and Write property)

Feedback, Comments & Corrections

GM16ImageMBS.isValid as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Does object contain valid image?
Notes:
Set to false in order to invalidate the image. Images constructed via the default constructor are invalid images and isValid() will return false.
(Read and Write property)

Feedback, Comments & Corrections

GM16ImageMBS.label as string
Type Topic Plugin Version macOS Windows Linux iOS Targets
property GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Image label.
Notes: (Read only property)

See also:

Feedback, Comments & Corrections

GM16ImageMBS.lineWidth as Double
Type Topic Plugin Version macOS Windows Linux iOS Targets
property GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Stroke width for drawing vector objects (default one)
Notes:
This method is now deprecated. Please use strokeWidth instead.
(Read and Write property)

Feedback, Comments & Corrections

GM16ImageMBS.magick as string
Type Topic Plugin Version macOS Windows Linux iOS Targets
property GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: The name of the codec to use for compression.
Example:
// this converts 32 bit PNG with alpha channel to BMP

dim f as FolderItem = SpecialFolder.Desktop.Child("test.png")
dim p as Picture = Picture.Open(f)

dim g as new GM16ImageMBS( new GM16GeometryMBS(p.Width, p.Height), new GM16ColorGrayMBS(1.0))

g.type = g.TrueColorMatteType
g.matte = True
g.magick = "BMP"

g.SetPicture(p, 0, 0)
g.SetPictureMask(p.mask.invertMBS, 0, 0)

f = SpecialFolder.Desktop.Child("test.bmp")
g.write(f)
Notes: (Read and Write property)

Feedback, Comments & Corrections

GM16ImageMBS.matte as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Image supports transparency (matte channel)
Notes: (Read and Write property)

Feedback, Comments & Corrections

GM16ImageMBS.matteColor as GM16ColorMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
property GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Image matte (frame) color.
Notes: (Read and Write property)

Feedback, Comments & Corrections

GM16ImageMBS.meanErrorPerPixel as Double
Type Topic Plugin Version macOS Windows Linux iOS Targets
property GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: The mean error per pixel computed when an image is color reduced.
Notes:
This parameter is only valid if verbose is set to true and the image has just been quantized.
(Read only property)

Feedback, Comments & Corrections

GM16ImageMBS.modulusDepth as UInt32
Type Topic Plugin Version macOS Windows Linux iOS Targets
property GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Image modulus depth (minimum number of bits required to support red/green/blue components without loss of accuracy).
Notes:
The pixel modulus depth may be decreased by supplying a value which is less than the current value, updating the pixels (reducing accuracy) to the new depth. The pixel modulus depth can not be increased over the current value using this method.
(Read and Write property)

Feedback, Comments & Corrections

GM16ImageMBS.monochrome as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Transform image to black and white while color reducing (quantizing).
Notes: (Read and Write property)

Feedback, Comments & Corrections

Previous items Next items

The items on this page are in the following plugins: MBS GraphicsMagick Plugin.

The biggest plugin in space...




Links
MBS FileMaker blog

Start Chat