Refactored loaded images.
Refactoring working with buffers.
Using buffer methods.
Method for refactoring calls to buffers. Bytes.
Refactoring calls to create buffer.