initial commit design2 jpeg encoder (WIP)