A data class for creating bitmap loaders. Use RegisterBitmapLoaderPlugin() to register the plugin.
See also
Py-Xample plugin example.
Override - Identify the file type as one that can be loaded using this plugin. If possible, the file should not be identified through the suffix, but through the probe data.
Parameters: |
|
---|---|
Return type: |
bool |
Returns: |
True if your plugin recognises this file. |
Warning
Never call any GUI commands in this method. Use the return value to inform the user about the state of the rendering.
Override - Load the image file into the bitmap.
Parameters: |
|
||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Return type: |
int |
||||||||||||||||
Returns: |
The return values:
|
New in version R13.029.
Return the ID of the corresponding bitmap saver, if there is one.
Return type: | int |
---|---|
Returns: | The plugin ID of the corresponding BitmapSaverData, or None if there is none. |
New in version R13.029.
Implement this function if you want to support loading movies.
Parameters: | name (str) – The name of the file to check. |
---|---|
Return type: | dict{frames: int, fps: int} |
Returns: | The number of frames and fps information for name. |