Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

MBS FileMaker Plugin Example Databases

GraphicsMagick Exif

All examples are included with download of MBS FileMaker Plugin.

GraphicsMagick Exif.fmp12

Overview
Tables 1
Relationships 0
Layouts 1
Scripts 1
Value Lists 0
Custom Functions 0
Custom Menus 33
File Options
Default custom menu set [Standard FileMaker Menus]
Default theme Enlightened
When opening file
Minimum allowed version 12.0
Login using Account Name; Account= Admin
Allow user to save password On
Require iOS passcode Off
Show Sign-in fields Off
Switch to layout Off
Hide all toolbars Off
Script triggers
OnFirstWindowOpen Off
OnLastWindowClose Off
OnWindowOpen Off
OnWindowClose Off
OnFileAVPlayerChange Off
OnWindowTransaction Off
Thumbnail Settings
Generate Thumbnails On; Temporary

 

Tables

Table Name
Statistics
Comments
Occurrences in Relationship Graph
GraphicsMagick Exif
3 fields defined, 44 records
GraphicsMagick Exif

Fields

Table Name: GraphicsMagick Exif - 3 Fields
Field Name Type Options Comments On Layouts In Relationships In Scripts In Value Lists
InputImage Normal, Binary Auto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Global
  • Repetitions: 1
      Tag Normal, Text Auto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: German
          Value Normal, Text Auto-Enter:
          • Allow editing
          Validation:
          • Only during data entry
          Storage:
          • Repetitions: 1
          • Indexing: None
          • Automatically create indexes as needed
          • Index Language: German

              Layout Objects: GraphicsMagick Exif

              Regular Fields

              Field Name: GraphicsMagick Exif::InputImage
              Field Properties Coordinates Field Format Field Behavior Quick Find
              • Top: 75 pt
              • Left: 16 pt
              • Bottom: 200 pt
              • Right: 269 pt
              • Anchoring: Left, Top
              Field Format:
              • Edit Box
              Field Behavior:
              • Allow field to be entered: In Find mode, In Browse mode
              • Touch keyboard type: System Default
              • Go to next field using: Tab key
              No

              Field Name: GraphicsMagick Exif::Tag
              Field Properties Coordinates Field Format Field Behavior Quick Find
              • Top: 252 pt
              • Left: 6 pt
              • Bottom: 275 pt
              • Right: 259 pt
              • Anchoring: Left, Top
              Field Format:
              • Edit Box
              Field Behavior:
              • Allow field to be entered: In Find mode, In Browse mode
              • Touch keyboard type: System Default
              • Go to next field using: Tab key
              Yes

              Field Name: GraphicsMagick Exif::Value
              Field Properties Coordinates Field Format Field Behavior Quick Find
              • Top: 252 pt
              • Left: 264 pt
              • Bottom: 275 pt
              • Right: 517 pt
              • Anchoring: Left, Top
              Field Format:
              • Edit Box
              Field Behavior:
              • Allow field to be entered: In Find mode, In Browse mode
              • Touch keyboard type: System Default
              • Go to next field using: Tab key
              Yes

              Buttons

              Button Properties Coordinates Script/Script Step
                Type:
              • Text: Get Exif
              • Top: 121 pt
              • Left: 352 pt
              • Bottom: 154 pt
              • Right: 465 pt
              • Anchoring: Left, Top
              Perform Script [ “Run” ]

              Scripts:


              Script Hierarchy

              Run

              Script Name Run
              Run script with full access privileges Off
              Siri Shortcut Visible Off
              Include In Menu Yes
              Layouts that use this script
              Scripts that use this script
                Script Definition
                Script Steps
                • #we query the metadata (Exif) of a picture.The properties that we wants are in the list. We get the value for each property and store it in the Database
                • Delete All Records [ No dialog ]
                • Set Variable [ $tags; Value:"GPSLatitudeRef¶GPSLatitude¶GPSLongitudeRef¶GPSLongitude¶GPSAltitudeRef¶GPSAltitude¶GPSTimeStamp¶GPSSatellites¶GPSStatus¶GPSMeasureMode¶GPSDOP¶GPSSpeedRef¶GPSSpeed¶GPSTrackRef¶GPSTrack¶GPSImgDirectionRef¶GPSImgDirection¶GPSMapDatum¶GPSDestLatitudeRef¶GPSDestLatitude¶GPSDestLongitudeRef¶GPSDestLongitude¶GPSDestBearingRef¶GPSDestBearing¶GPSDestDistanceRef¶GPSDestDistance¶GPSDateStamp¶ImageWidth¶ImageLength¶BitsPerSample¶Compression¶PhotometricInterpretation¶FillOrder¶DocumentName¶ImageDescription¶Make¶Model¶StripOffsets¶Orientation¶SamplesPerPixel¶RowsPerStrip¶StripByteCounts¶MinSampleValue¶MaxSampleValue¶XResolution¶YResolution¶PlanarConfiguration¶PageName¶XPosition¶YPosition¶FreeOffsets¶FreeByteCounts¶GrayResponseUnit¶GrayResponseCurve¶T4Options¶T6Options¶ResolutionUnit¶TransferFunction¶Software¶DateTime¶Artist¶HostComputer¶Predictor¶WhitePoint¶PrimaryChromaticities¶ColorMap¶HalfToneHints¶TileWidth¶TileLength¶TileOffsets¶TileByteCounts¶SubIFD¶InkSet¶InkNames¶NumberOfInks¶DotRange¶TargetPrinter¶ExtraSample¶SampleFormat¶SMinSampleValue¶SMaxSampleValue¶TransferRange¶ClipPath¶XClipPathUnits¶YClipPathUnits¶Indexed¶JPEGTables¶OPIProxy¶JPEGProc¶JPEGInterchangeFormat¶JPEGInterchangeFormatLength¶JPEGRestartInterval¶JPEGLosslessPredictors¶JPEGPointTransforms¶JPEGQTables¶JPEGDCTables¶JPEGACTables¶YCbCrCoefficients¶YCbCrSubSampling¶YCbCrPositioning¶ReferenceBlackWhite¶ExtensibleMetadataPlatform¶Gamma¶ICCProfileDescriptor¶SRGBRenderingIntent¶ImageTitle¶ResolutionXUnit¶ResolutionYUnit¶ResolutionXLengthUnit¶ResolutionYLengthUnit¶PrintFlags¶PrintFlagsVersion¶PrintFlagsCrop¶PrintFlagsBleedWidth¶PrintFlagsBleedWidthScale¶HalftoneLPI¶HalftoneLPIUnit¶HalftoneDegree¶HalftoneShape¶HalftoneMisc¶HalftoneScreen¶JPEGQuality¶GridSize¶ThumbnailFormat¶ThumbnailWidth¶ThumbnailHeight¶ThumbnailColorDepth¶ThumbnailPlanes¶ThumbnailRawBytes¶ThumbnailSize¶ThumbnailCompressedSize¶ColorTransferFunction¶ThumbnailData¶ThumbnailImageWidth¶ThumbnailImageHeight¶ThumbnailBitsPerSample¶ThumbnailCompression¶ThumbnailPhotometricInterp¶ThumbnailImageDescription¶ThumbnailEquipMake¶ThumbnailEquipModel¶ThumbnailStripOffsets¶ThumbnailOrientation¶ThumbnailSamplesPerPixel¶ThumbnailRowsPerStrip¶ThumbnailStripBytesCount¶ThumbnailResolutionX¶ThumbnailResolutionY¶ThumbnailPlanarConfig¶ThumbnailResolutionUnit¶ThumbnailTransferFunction¶ThumbnailSoftwareUsed¶ThumbnailDateTime¶ThumbnailArtist¶ThumbnailWhitePoint¶ThumbnailPrimaryChromaticities¶ThumbnailYCbCrCoefficients¶ThumbnailYCbCrSubsampling¶ThumbnailYCbCrPositioning¶ThumbnailRefBlackWhite¶ThumbnailCopyRight¶LuminanceTable¶ChrominanceTable¶FrameDelay¶LoopCount¶PixelUnit¶PixelPerUnitX¶PixelPerUnitY¶PaletteHistogram¶RelatedImageFileFormat¶ImageID¶Matteing¶DataType¶ImageDepth¶TileDepth¶CFARepeatPatternDim¶CFAPattern¶BatteryLevel¶Copyright¶ExposureTime¶FNumber¶IPTC/NAA¶IT8RasterPadding¶IT8ColorTable¶ImageResourceInformation¶ExifOffset¶InterColorProfile¶ExposureProgram¶SpectralSensitivity¶GPSInfo¶ISOSpeedRatings¶OECF¶ExifVersion¶DateTimeOriginal¶DateTimeDigitized¶ComponentsConfiguration¶CompressedBitsPerPixel¶ShutterSpeedValue¶ApertureValue¶BrightnessValue¶ExposureBiasValue¶MaxApertureValue¶SubjectDistance¶MeteringMode¶LightSource¶Flash¶FocalLength¶MakerNote¶UserComment¶SubSecTime¶SubSecTimeOriginal¶SubSecTimeDigitized¶FlashPixVersion¶ColorSpace¶ExifImageWidth¶ExifImageLength¶InteroperabilityOffset¶FlashEnergy¶SpatialFrequencyResponse¶Noise¶FocalPlaneXResolution¶FocalPlaneYResolution¶FocalPlaneResolutionUnit¶ImageNumber¶SecurityClassification¶ImageHistory¶SubjectLocation¶ExposureIndex¶TIFF_EPStandardID¶SensingMethod¶FileSource¶SceneType¶CFAPattern¶CustomRendered¶ExposureMode¶WhiteBalance¶DigitalZoomRatio¶FocalLengthIn35mmFilm¶SceneCaptureType¶GainControl¶Contrast¶Saturation¶Sharpness¶DeviceSettingDescription¶SubjectDistanceRange¶ImageUniqueID" ]
                • #load from container
                • Set Variable [ $img; Value:MBS("GMImage.NewFromContainer"; GraphicsMagick Exif::InputImage) ]
                • #Determine number of loop passes
                • Set Variable [ $count; Value:ValueCount ( $tags ) ]
                • Set Variable [ $index; Value:1 ]
                • Loop [ Flush: Always ]
                • #get the property name from the list
                • Set Variable [ $tag; Value:GetValue ( $tags; $index ) ]
                • #Get the value of the property
                • Set Variable [ $value; Value:MBS("GMImage.GetAttribute"; $img; "EXIF:" & $tag) ]
                • If [ $value ≠ "unknown" ]
                • #Write the property and the value in a new record
                • New Record/Request
                • Set Field [ GraphicsMagick Exif::Tag; $tag ]
                • Set Field [ GraphicsMagick Exif::Value; $value ]
                • Commit Records/Requests [ No dialog ]
                • End If
                • Set Variable [ $index; Value:$index +1 ]
                • Exit Loop If [ $index > $count ]
                • End Loop
                • # release environment
                • Set Variable [ $r; Value:MBS("GMImage.Free"; $img) ]
                Fields used in this script
                Scripts used in this script
                  Layouts used in this script
                    Tables used in this script
                    Table occurrences used by this script
                    Custom Functions used by this script
                      Custom menu set used by this script

                        Download example: GraphicsMagick Exif

                        Used functions: