fsleyes_widgets.utils.b64icon

This module contains the loadBitmap() function, which can be used to create a wx.Bitmap object from a base64-encoded image.

exception fsleyes_widgets.utils.b64icon.IconError

Bases: Exception

Custon Exception raised when loadBitmap() cannot load an icon.

__module__ = 'fsleyes_widgets.utils.b64icon'
__weakref__

list of weak references to the object (if defined)

fsleyes_widgets.utils.b64icon.loadBitmap(iconb64)

Convert the given base64-encoded byte string to a wx.Bitmap object.