A data class for creating bitmap savers. Use RegisterBitmapSaverPlugin() to register the plugin.
Note
See Py-Xample plugin example.
Override - Open the settings dialog for this import/export filter.
Parameters: | data (BaseContainer) – The settings for your plugin. |
---|---|
Return type: | bool |
Returns: | True if the dialog opened successfully. |
Warning
Never call any GUI commands in this method. Use the return value to inform the user about the state of the rendering.
Override - Save the bitmap to a file.
Parameters: |
|
||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Return type: |
int |
||||||||||||||||||||||
Returns: |
The return values:
|
New in version R13.029.
Get the maximum number of alpha channels this format supports with the current settings.
Parameters: | data (BaseContainer) – The settings for your plugin. These settings are stored with the general preferences. |
---|---|
Return type: | int |
Returns: | The number of alpha channels. |
New in version R13.029.
Overload this to return the maximum resolution of the image format.
Parameters: | layers (bool) – True if layers are to be saved, otherwise False. |
---|---|
Return type: | int |
Returns: | The maximum resolution supported by the image format. |