Camera framing and compression