ImagePlayground.GetSourceImage
------------------------------

Queries the source image.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [ImagePlayground](component_ImagePlayground.md) | [15.0](newinversion150.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "ImagePlayground.GetSourceImage" { ; ImageType; FileName } ) 

**MBS**( **"ImagePlayground.GetSourceImage";** /\* Queries the source 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

Queries the source image.  
An image to use as source input for generating the new image.  
### See also

- [ImagePlayground.SetSourceImage](ImagePlaygroundSetSourceImage.md)

This function checks for a license.

Created 15th December 2024 , last changed 15th December 2024

  
[ImagePlayground.Create](ImagePlaygroundCreate.md) - [ImagePlayground.Image](ImagePlaygroundImage.md)

[HTML Version](ImagePlaygroundGetSourceImage.shtml)