CREATOR
Functions
Creates ImageRef from serialized string representation with upgrading serialized reference to a strong one
Creates ImageRef from a bitmap.
Creates ImageRef from encoded buffer, e.g. from jpeg.
Creates ImageRef from the given input stream of encoded bytes
Releases all alive images despite any existing references.
Sets directory in which hibernated images are stored. If null is passed, then hibernated images are stored in compressed format in memory. Can be set at most once, best when the application is initialized but in any case before any ImageRef is created.
Sets the quality of JPEG compression used to encode images when hibernating. The default is 80.
Sets storageCryptingProvider that is used when an image is read/written from/to disk. The provider is used both when images are hibernated and when they are saved/loaded from disk with saveImage/fromPath. Can be set at most once, best when the application is initialized but in any case before any ImageRef is created.