• 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_GetImageInfo

Media_GetImageInfo ( container )

Media_GetImageInfo returns a text block containing detailed information about the image.

Parameter Description
container The location of the image.
The container parameter can be:

  • a container field
  • text field with a valid filepath and filename
  • text field with a file path

Returns image info, such as:

Height (px): 474
Width (px): 396
Depth (bits): 24
Quality: 512
V Resolution (dpi): 72
H Resolution (dpi): 72
Size (bytes): 61521
Compressor Type: jpeg
Compressor Description: Photo – JPEG

The values of the response – such as Height, Width, Size, etc. — can be easily isolated using the Media_ExtractInfo function (see below).

Note that Quality for uncompressed formats will be 1024 and for compressed is 512. Because it is not possible to determine from the result image how much the original image was compressed.

Examples

To get the image info of a picture stored in a container field named “Picture 1”:

Media_GetImageInfo ( MyTable::Picture 1 )

To get the info of an external image file named “nirvana.jpg” located on the desktop:

Media_GetImageInfo ( “.D/nirvana.jpg” )

To get the info of an external image file whose filepath and name are stored in a text field named “Image Location”:

Media_GetImageInfo ( MyTable::Image Location )

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.