basic processing.py function complete for first iteration, needs refactor; extract.py can extract images, need to write to buffer