got picture orientation and scaling working, still need to fix
shape/padding