Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Container.ExtractStream
Extracts a single frame and returns as new container value.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Container | 4.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "Container.ExtractStream"; Container; InputType { ; NewName; OutputType } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
Container | The container value to modify. | $data | |
InputType | The input type. | "JPEG" | |
NewName | The new file name to use. | "test.psd" | Optional |
OutputType | The output type. | "FILE" | Optional |
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")
Extract PDF to go into a FILE container:
MBS( "Container.ExtractStream"; MyTable::MyPDF; "PDF "; "test.pdf"; "FILE" )
See also
Blog Entries
This function checks for a license.
Created 18th August 2014, last changed 1st August 2024