BLImage Class Referencefinal [¶]
2D raster image [C++ API].
Raster image holds pixel data and additional information such as pixel format. The underlying image data can be shared between multiple instances of BLImage, which can be used by multiple threads. Atomic reference counting is used to safely manage the internal reference count of the underlying image data.
When an image is copied to another BLImage instance its called a weak-copy as the underlying data is not copied, but the reference count is increased instead (atomically). Since atomic operations involve a minor overhead Blend2D implements also move operations, which are the most efficient operations that can be used to move one instance to another.