Platforms to show: All Mac Windows Linux Cross-Platform

Previous items Next items

GMImageMBS.fillColor as GMColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Color to use when filling drawn objects.
Example:
dim g as new GMGeometryMBS(500,500)
dim c as new GMColorRGBMBS("white") // white
dim image as new GMImageMBS(g, c)

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

dim draw as GMGraphicsMBS = image.Graphics

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

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

Feedback, Comments & Corrections

GMImageMBS.fillPattern as GMImageMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Pattern to use while filling drawn objects.
Notes: (Read and Write property)

Feedback, Comments & Corrections

GMImageMBS.fillRule as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property GraphicsMagick MBS GraphicsMagick Plugin 16.4 Yes Yes Yes Yes No
Function: Rule to use when filling drawn objects
Notes: (Read and Write property)

Feedback, Comments & Corrections

GMImageMBS.filterType as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
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

GMImageMBS.font as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
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

GMImageMBS.fontPointsize as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Text rendering font point size.
Notes: (Read and Write property)

Feedback, Comments & Corrections

GMImageMBS.format as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Long image format description.
Notes: (Read only property)

Feedback, Comments & Corrections

GMImageMBS.gamma as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Gamma correct the image or individual image channels.
Example:
dim p as Picture = LogoMBS(500)
dim image as new GMImageMBS(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

GMImageMBS.geometry as GMGeometryMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Preferred size of the image when encoding.
Notes: (Read only property)

Feedback, Comments & Corrections

GMImageMBS.getConstIndexes as Ptr
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property GraphicsMagick MBS GraphicsMagick Plugin 16.4 Yes Yes Yes Yes No
Function: Obtain immutable image pixel indexes (valid for PseudoClass images)
Notes: (Read only property)

Feedback, Comments & Corrections

GMImageMBS.getIndexes as Ptr
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property GraphicsMagick MBS GraphicsMagick Plugin 16.4 Yes Yes Yes Yes No
Function: Obtain mutable image pixel indexes (valid for PseudoClass images)
Notes: (Read only property)

Feedback, Comments & Corrections

GMImageMBS.gifDisposeMethod as UInt32
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
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

GMImageMBS.handle as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: The internal object reference.
Example:
dim c as new GMColorMBS("white")
dim g as new GMGeometryMBS(100,100)
dim image as new GMImageMBS(g, c)
MsgBox hex(Image.handle) // valid if not zero
Notes: (Read and Write property)

Feedback, Comments & Corrections

GMImageMBS.height as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property GraphicsMagick MBS GraphicsMagick Plugin 10.1 Yes Yes Yes Yes No
Function: The height of the image.
Example:
dim c as new GMColorRGBMBS(1.0,0.0,0.0)
dim size as new GMGeometryMBS(100,100)
dim g as new GMImageMBS(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

GMImageMBS.iccColorProfile as GMBlobMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: ICC color profile.
Example:
dim f as FolderItem = SpecialFolder.Desktop.Child("IMG_0793.tif")
dim Image as new GMImageMBS(f)
dim ProfileBlob as GMBlobMBS = 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

GMImageMBS.interlaceType as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
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

GMImageMBS.iptcProfile as GMBlobMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
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

GMImageMBS.isValid as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
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

GMImageMBS.label as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Image label.
Notes: (Read only property)

See also:

Feedback, Comments & Corrections

GMImageMBS.lineWidth as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
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

GMImageMBS.magick as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes Yes No
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 GMImageMBS( new GMGeometryMBS(p.Width, p.Height), new GMColorGrayMBS(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

GMImageMBS.matte as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Image supports transparency (matte channel)
Notes: (Read and Write property)

Feedback, Comments & Corrections

GMImageMBS.matteColor as GMColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Image matte (frame) color.
Notes: (Read and Write property)

Feedback, Comments & Corrections

GMImageMBS.meanErrorPerPixel as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
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

GMImageMBS.modulusDepth as UInt32
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
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

GMImageMBS.monochrome as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Transform image to black and white while color reducing (quantizing).
Notes: (Read and Write property)

Feedback, Comments & Corrections

GMImageMBS.normalizedMaxError as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: The normalized max 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

GMImageMBS.normalizedMeanError as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: The normalized 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

GMImageMBS.orientation as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Image orientation. Supported by some file formats such as DPX and TIFF. Useful for turning the right way up.
Notes: (Read and Write property)

Feedback, Comments & Corrections

GMImageMBS.page as GMGeometryMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Preferred size and location of an image canvas.
Notes:
Use this option to specify the dimensions and position of the Postscript page in dots per inch or a TEXT page in pixels. This option is typically used in concert with density .

Page may also be used to position a GIF image (such as for a scene in an animation).
(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 Plugins