Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial set image is appearing smaller than the original size #543

Open
MuhammadSaad420 opened this issue Dec 18, 2023 · 1 comment
Open
Labels
enhancement New feature or request question Further information is requested

Comments

@MuhammadSaad420
Copy link

MuhammadSaad420 commented Dec 18, 2023

When i set image for the first time, the image size is smaller than the original even though i am not applying any filter yet. Following is the code i wrote to set image in PhotoEditor view.

photoEditor = PhotoEditor.Builder(this, binding.photoView)
            .setPinchTextScalable(true)
            .setClipSourceImage(true)
            .build()
        binding.photoView.source.setImageURI(Uri.parse(imageUri))
@burhanrashid52
Copy link
Owner

The PhotoEditorView does not preserve the original size. It will take the size of the device. Because of this, you can only save the image in device resolution. For more details check #10

@burhanrashid52 burhanrashid52 added enhancement New feature or request question Further information is requested labels Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants
@burhanrashid52 @MuhammadSaad420 and others