Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Decodes data from hex text into a container value.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Container | 6.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
type | The type to return. Can be JPEG, TIFF, GIF, PNG, PDF or File. | "JPEG" | |
text | The text to process. | ||
filename | If filter is container, this defines the file name to use. | "test.txt" | Optional |
DontRenderPreview | Pass 1 to not create a JPEG with preview of first page as part of the container. (only for returning PDF) | 0 | Optional |
Returns container or error.
Decode hex encoded zlib compressed PDF in a text field:
Set Field [ PDF::PDFFile ; MBS( "Container.Decompress"; MBS( "Container.RenameStream"; MBS( "Container.DecodeFromHex"; "FILE"; PDF::PDF_hex; "test.pdf"); "FILE"; "ZLIB" )) ]
This function checks for a license.
Created 30th November 2016, last changed 1st May 2022