ImagePicker.MediaEditedImage
----------------------------

Queries the edited image.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [ImagePicker](component_ImagePicker.md) | [7.3](newinversion73.md) | ❌ No | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "ImagePicker.MediaEditedImage" { ; ImageType; FileName; WithEXIF } ) 

**MBS**( **"ImagePicker.MediaEditedImage";** /\* Queries the edited image. \*/  
**$ImageType**; /\* Optional; The image type to return.  
Can be png or jpeg.e.g. "jpeg" \*/   
**$FileName**; /\* Optional; The file name to include in container value.e.g. "test.jpg" \*/   
**$WithEXIF**) /\* Optional; Pass 1 to include metadata in image.  
Default is 0 for no metadata.e.g. 0 \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| ImageType | The image type to return.   Can be png or jpeg. | "jpeg" | Optional |
| FileName | The file name to include in container value. | "test.jpg" | Optional |
| WithEXIF | Pass 1 to include metadata in image.   Default is 0 for no metadata. | 0 | Optional |

### Result

Returns container value or error.

### Description

Queries the edited image.  
If no image is available, we return empty result.  
  
See also [ImagePicker.MediaOriginalImage](ImagePickerMediaOriginalImage.md) for the original image.  
### See also

- [ImagePicker.MediaIsImage](ImagePickerMediaIsImage.md)
- [ImagePicker.MediaOriginalImage](ImagePickerMediaOriginalImage.md)

### Release notes

- **Version 9.2**
    - Added withEXIF parameter to [ImagePicker.MediaEditedImage](http://www.mbsplugins.eu/ImagePickerMediaEditedImage.shtml) and [ImagePicker.MediaOriginalImage](http://www.mbsplugins.eu/ImagePickerMediaOriginalImage.shtml) functions.

### Example Databases

- [iOS/Examples/iOS ImagePicker](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/iOS/Examples/iOS%20ImagePicker.shtml#5ScriptAnchor_)

### Blog Entries

- [MBS FileMaker Plugin, version 9.2pr7](https://www.mbsplugins.de/archive/2019-05-15/MBS_FileMaker_Plugin_version_9/monkeybreadsoftware_blog_filemaker)
- [Image Picker for FileMaker iOS SDK apps with MBS Plugin](https://www.mbsplugins.de/archive/2017-06-20/Image_Picker_for_FileMaker_iOS/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 17th June 2017 , last changed 9th November 2021

  
[ImagePicker.MediaCropRect](ImagePickerMediaCropRect.md) - [ImagePicker.MediaIsImage](ImagePickerMediaIsImage.md)

[HTML Version](ImagePickerMediaEditedImage.shtml)