photo identity from camera and compress