Use a newly allocated buffer for output, and release the intermediary image used. Also add a TODO for performance improvement
Use a newly allocated buffer for output, and release the intermediary image used. Also add a TODO for performance improvement