IKPictureTaker.GetOutputImage
-----------------------------

Return the edited image.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [IKPictureTaker](component_IKPictureTaker.md) | [3.5](newinversion35.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "IKPictureTaker.GetOutputImage" { ; ImageType; FileName } ) 

**MBS**( **"IKPictureTaker.GetOutputImage";** /\* Return the edited image. \*/  
**$ImageType**; /\* Optional; The type of image to return.   
Either JPEG, PNG, GIF or BMP. Default is JPEG.e.g. "JPEG" \*/   
**$FileName**) /\* Optional; The filename to use for the picture.   
Default is "image" with the extension matching the image type.e.g. "test.jpg" \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| ImageType | The type of image to return.    Either JPEG, PNG, GIF or BMP. Default is JPEG. | "JPEG" | Optional |
| FileName | The filename to use for the picture.    Default is "image" with the extension matching the image type. | "test.jpg" | Optional |

### Result

Returns image or error.

### Description

Return the edited image.  
### See also

- [IKPictureTaker.GetInputImage](IKPictureTakerGetInputImage.md)
- [IKPictureTaker.GetOutputImageMaxWidth](IKPictureTakerGetOutputImageMaxWidth.md)
- [IKPictureTaker.SetInputImage](IKPictureTakerSetInputImage.md)
- [IKPictureTaker.SetOutputImageMaxSize](IKPictureTakerSetOutputImageMaxSize.md)

### Example Databases

- [Mac only/IKPictureTaker](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20only/IKPictureTaker.shtml#1GroupButton150.0000000402.0000000175.0000000553.0000000LayoutObjectAnchor_)

This function checks for a license.

Created 18th August 2014 , last changed 29th September 2020

  
[IKPictureTaker.GetMirroring](IKPictureTakerGetMirroring.md) - [IKPictureTaker.GetOutputImageMaxHeight](IKPictureTakerGetOutputImageMaxHeight.md)

[HTML Version](IKPictureTakerGetOutputImage.shtml)