RedApparat / Fotoapparat

Making Camera for Android more friendly. 📸
Apache License 2.0
3.82k stars 407 forks source link

pictures are zoomed in #309

Closed KlaartjeD closed 5 years ago

KlaartjeD commented 5 years ago

What are you trying to achieve or the steps to reproduce?

An image taken by FA is more zoomed in then the default camera

            lensPosition = back(),
            configuration = CameraConfiguration(
                    previewResolution = firstAvailable(
                            wideRatio(highestResolution()),
                            standardRatio(highestResolution())
                    ),
                    pictureResolution = firstAvailable(wideRatio(highestResolution()), standardRatio(highestResolution()))
                    ,
                    previewFpsRange = highestFps(),
                    flashMode = off(),
                    focusMode = firstAvailable(
                            continuousFocusPicture(),
                            autoFocus(),
                            fixed()
                    ),
                    antiBandingMode = firstAvailable(
                            auto(),
                            hz50(),
                            hz60(),
                            none()
                    ),
                    frameProcessor = {
                    },
                    jpegQuality = manualJpegQuality(80),
                    sensorSensitivity = firstAvailable(manualSensorSensitivity(500), lowestSensorSensitivity())
            )
    )

 fotoapparat = Fotoapparat(
                context = this,
                view = cameraView,
                focusView = focusView,
                logger = logcat(),
                scaleType = ScaleType.CenterCrop,
                lensPosition = activeCamera.lensPosition,
                cameraConfiguration = activeCamera.configuration,
                cameraErrorCallback = { Log.e(LOGGING_TAG, "Camera error: ", it)
                }
        )
Diolor commented 5 years ago

I am pretty sure they are not zoomed in. They are simply wide. Please paste both a sample pic from the native camera and FA if my assumption is wrong.