• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

1stplugins

FileMaker plug-ins and Reverse Engineering

  • Plugins
    • MediaManager
  • Services
    • Reverse Engineering
    • FileMaker Plug-Ins
  • About
    • About Us
    • Contact Us
    • Terms of Use of the Website and Privacy Policy
  • Store
    • Terms and Conditions
    • Warranty Claim Guidelines
    • Contract Withdrawal Form
    • Warranty Claim Report

Media_SetImageDefaults

Media_SetImageDefaults( previewQuality; previewMark )

The Media_SetImageDefaults function allows you to control the preview image quality and whether or not brackets appear in the corners of preview images. You can even choose to bypass the creation of the preview image altogether.

Parameter Description
previewQuality Quality level of the automatically generated preview image, -1 (no preview) to 1024 (maximum quality).
previewMark “0” or “False” to prevent preview mark brackets; “1” or “True” to restore normal bracket insertion on preview images.

Preview Image Quality

MediaManager always stores image results at maximum quality, but FileMaker Pro cannot display these high-quality images in container fields. In order to display a visual result in container fields, MediaManager normally creates a lower quality preview image that is simultaneously placed in the container field (along with the undisplayed high-quality image).

Once scripts are debugged, you may wish to set the previewQuality parameter to “-1” to reduce execution time – if you don’t need to display a copy of the image in a container field as part of your file’s user interface. When previewQuality is set to -1, FileMaker will display field “Unknown Container Object” as an error message in the container (even though the full quality MM Image is still in the container).

Bracket Marks

To distinguish preview images from the high-quality image, MediaManager normally adds bracket marks to the corners of the preview image. To prevent marking of the previews, set the previewMark parameter to “False”. While MediaManager is is demo mode, preview marking cannot be turned off.

Demo Note

Bracket marks cannot be turned off when MediaManager is in demo mode. You can only turn off bracket mark creation when you have registered your copy of MediaManager.

Examples

To set the default so a preview image of medium quality is created (with bracket marks):

Set Field [ MyTable::Response ;
Media_SetImageDefaults ( 512 ; True ) ]

To set the default so a preview image of maximum quality is created (with bracket marks):

Set Field [ MyTable::Response ;
Media_SetImageDefaults ( 1024 ; True ) ]

To set the default so no preview image is created:

Set Field [ MyTable::Response ;
Media_SetImageDefaults ( -1 ; True ) ]

To set the default so a preview image of maximum quality is created without bracket marks:

Set Field [ MyTable::Response ;
Media_SetImageDefaults ( 1024 ; False ) ]

Primary Sidebar

Document Functions

Media_CopyItem
Media_CreateAlias
Media_CreateFolder
Media_DeleteItem
Media_ExportField
Media_ExtractInfo
Media_GetDefaultFolder
Media_GetItemInfo
Media_GetName
Media_GetPath
Media_InsertFile
Media_ListDisks
Media_ListFolder
Media_MoveItem
Media_OpenItem
Media_RenameItem
Media_SetDefaultFolder

General and Registration Functions

Media_Get
Media_GetLastError
Media_GetMouseUp
Media_JSONPath
Media_Register
Media_RegisterLicensedEncoder
Media_Set
Media_Version

Image Functions

Media_TApply
Media_TClear
Media_TCrop
Media_TQuad
Media_TResize
Media_TRotate
Media_TScale
Media_TSkew
Media_EffectApply
Media_EffectDialog
Media_ConvertImage
Media_GetImageInfo
Media_GetMetadata
Media_InsertImage
Media_ListImageOutputTypes
Media_SetImageDefaults

Script Steps

Copy Item
Create Alias
Create Folder
Delete Item
Export Field
Get Default Folder
Get Item Property
Move Item
Open Item
Rename Item
Set Default Folder

Sound Functions

Media_Amplify
Media_AppendSound
Media_ConvertSound
Media_CreateSound
Media_DrawWaveform
Media_ExtractSound
Media_FadeSound
Media_GetMetadata
Media_GetSoundInfo
Media_InsertQuickTime
Media_ListSoundOutputFormats
Media_MixSounds
Media_Normalize
Media_PlayPause
Media_PlaySound
Media_RecordSoundFormatDialog
Media_RecordSoundStart
Media_RecordSoundPause
Media_RecordSoundStop
Media_SetMetadata
Media_SoundFormatDialog
Media_StopSound

Video Functions

Media_GetVideoInfo

Footer

Let’s get started on your project.

Get in touch

  • Plugins
  • Services
  • About
  • Store

Copyright ©2006-2020 by 1stplugins, s.r.o. All rights reserved.