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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
GMImage.NewImagesFromFile
Loads a picture file with several files.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| GraphicsMagick | 5.1 | Yes | Yes | Yes | Yes | Yes |
Parameters
| Parameter | Description | Example |
|---|---|---|
| Path | The platform specific file path. | "/test.tif" |
Result
Returns list of image references or error.
Description
Loads a picture file with several files.This is for loading multi image tiff files.
Please call GMImage.Release later to free memory for each image.
Image reference numbers are starting at 18000 and counting up for each new image.
Examples
Loads from file and writes to other file:
Set Variable [$img; Value:MBS("GMImage.NewImagesFromFile"; "/Users/cs/Desktop/test.jpg")]
If [MBS("IsError") = 0]
Set Variable [$r; Value:MBS( "GMImage.WriteToFile"; $img; "/Users/cs/Desktop/test.tif" )]
Set Variable [$r; Value:MBS( "GMImage.Release"; $img)]
End If
See also
- GMImage.GetXMP
- GMImage.New
- GMImage.NewImagesFromContainer
- GMImage.Release
- GMImage.WriteImages
- GMImage.WriteToFile
- IsError
Blog Entries
Release notes
- Version 8.5
- Changed GMImage.NewImagesFromFile to reject .PDF file as GraphicsMagick doesn't really read PDF files.
Created 11st March 2015, last changed 31st July 2019
GMImage.NewImagesFromContainer - GMImage.Normalize
Feedback: Report problem or ask question.
Links
MBS FileMaker Plugins