added getters for resolution and compression

Added lib functions so you can get the compression and resolution settings of the camera

Reviewed By: @johnnyman727