-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Hello Siralam,
I have used your custom camera library it is working nice and perfect but my QA has found one issue. it does not issue from your side but I want to get this type of functionality in your library.
When we click native camera image in portrait mode you will be got perfect as the 90-degree image but
in your library, it perfectly works and reveals 90-degree.
but when we click native camera image in landscape mode you will be got perfect as the 90-degree image but in your library, it not reveals 90-degree it displays another degree image. I am giving screenshot what am I getting and what I want.
I think you will understand my point. I want to 90-degree capture pictures save in sd card from landscape or portrait mode.
I changed code in "CameraViewImpl.class", but no effect to "CameraActivity.java" files
like :
cameraView.setOnPictureTakenListener(new CameraViewImpl.OnPictureTakenListener() {
@OverRide
public void onPictureTaken(Bitmap bitmap, int rotationDegrees) {
startSavingPhoto(bitmap, rotationDegrees);
}
});
in this method every time I am getting rotationDegrees = -90 value.
I don't know I am wrong or right can you please help me with this solution.
Whatever mode we click image we save the 90-Degree image. Thank you in advance.