The purpose of lib/camera.js is wrap the gecko API. If you search for mozCamera only the camera lib touches it. We have functions setPictureSize, setThumbnailSize, setRecorderProfile... You should create a setZoomScale function on camera lib