QTMovie.CurrentFrameImage
-------------------------

Returns an Image for the frame at the current time in a Movie.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [QTMovie](component_QTMovie.md) | [4.0](newinversion40.md) | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ❌ No |

### Removed

This function was [removed](removed.md) for MBS FileMaker Plugin 9.0. Please move to newer functions or keep using older plugins.

MBS( "QTMovie.CurrentFrameImage"; Movie { ; ImageType; FileName } ) 

**MBS**( **"QTMovie.CurrentFrameImage";** /\* Returns an Image for the frame at the current time in a Movie. \*/  
**$Movie**; /\* The reference number of the movie.   
Please use [QTMovie.OpenContainer](QTMovieOpenContainer.md), [QTMovie.OpenFile](QTMovieOpenFile.md) or [QTMovie.OpenURL](QTMovieOpenURL.md) function to get movie reference.e.g. $mov \*/   
**$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 |
|---|---|---|---|
| Movie | The reference number of the movie.    Please use [QTMovie.OpenContainer](QTMovieOpenContainer.md), [QTMovie.OpenFile](QTMovieOpenFile.md) or [QTMovie.OpenURL](QTMovieOpenURL.md) function to get movie reference. | $mov |  |
| 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 an image as container value or error.

### Description

Returns an Image for the frame at the current time in a Movie.  
### See also

- [MovieView.CurrentFrameImage](MovieViewCurrentFrameImage.md)
- [QTMovie.OpenContainer](QTMovieOpenContainer.md)
- [QTMovie.OpenFile](QTMovieOpenFile.md)
- [QTMovie.OpenURL](QTMovieOpenURL.md)

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

  
[QTMovie.Autoplay](QTMovieAutoplay.md) - [QTMovie.FormatTime](QTMovieFormatTime.md)

[HTML Version](QTMovieCurrentFrameImage.shtml)