separate: buffersToOutputImage(), imageToBuffers()