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.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Reads and convert image file.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Container | 11.2 | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes, on macOS and Windows | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
Path | The native file path. | "/Users/cs/Images/test.jpg" | |
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 |
Returns image container or error.
Read in some picture and convert to PNG:
Set Variable [ $image ; Value: MBS( "Container.ReadImageFile"; "/Users/cs/Pictures/mond.jpg"; "PNG") ]
This function is free to use.
Created 15th April 2021, last changed 6th June 2023