GraphicsFormats Xojo plugin |
|
RawGIFImporter Class
A class to Import GIF and GIF animations picture into RawBitmap. The class can either import from file or string.
Object
RawGIFImporter
class RawGIFImporter implements
IRawBitmapReader
IRawBitmapReaderV2
Properties
Comment | Comment from the comment field in the Gif file if any. |
Delay | Returns the Delay in milliseconds of the first frame. |
ErrorMessage | Error message for last error that occurred. |
IsAnimated | Returns true if the first frame of the Gif image is marked as animated. |
LastError | Returns enum error code for last error that occurred. |
Methods
FileExtensions | Returns array of file extensions which this image format can use. |
GetLastErrorCode | Same as the LastError property but this one returns it as Integer to full-fill the standard interface. |
InternetMediaTypes | Returns array of internet media types which this image format can use. |
OpenAllFramesFromFile | Opens all frames of a GIF Image from a file. |
OpenAllFramesFromString | Opens all frames of a GIF Image from a string. |
OpenFromFile | Opens a GIF Image from a file, returning the first frame only if it is animated GIF. |
OpenFromString | Opens a GIF Image from a String, returning the first frame only if it is animated GIF. |
ReadHeader | Reads header for the GIF image from a string. |
ReadHeader | Reads header for the GIF image from a file. |
UTI | Returns UTI identifier for the file format of this class. |
UTIConformsTo | Returns UTI conforms to identifier for the file format of this class. |
UTIDescription | Returns UTI description for the file format of this class. |
Enumerations
ErrorValues | Enum representing error codes which this class can return. |
Constants
Version = 10.02 | |
This class uses GIFLIB which is 3rd party software. License for GIFLIB:
The GIFLIB distribution is Copyright (c) 1997 Eric S. Raymond
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Supported Platforms:
macOS Intel 64 bitmacOS Apple SiliconWindows 32 bitWindows 64 bitWindows ARM 64 bitLinux 32 bitLinux 64 bitLinux ARM 32 bitLinux ARM 64 bitiOS