Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

Container.ExtractStream

Extracts a single frame and returns as new container value.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Container 4.3 Yes Yes Yes Yes Yes

MBS( "Container.ExtractStream"; Container; InputType { ; NewName; OutputType } )

Parameters

Parameter Description Example value
Container The container value to modify. $data
InputType The input type. "JPEG"
NewName Optional
The new file name to use.
"test.psd"
OutputType Optional
The output type.
"FILE"

Result

Returns modified container value.

Description

Extracts a single frame and returns as new container value.
See Container.GetTypes to figure out what stream types a container value has.

Examples

Extract a Photoshop image and package it like a file import:

MBS("Container.ExtractStream"; Test::InputContainer; "8BPS"; "test.psd"; "FILE")

See also


Container.Export   -   Container.GetBase64

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins