[Bug]: Camera.takePhoto reduces the image size to the screen resolution when using `editable: 'in-app'`
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 67/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- android, typescript
- Lĩnh vực
- mobile-dev
Hướng nghiên cứu
Start by tracing Camera.takePhoto with editable: 'in-app' through the Android implementation; the issue does not name specific files or tests. Check how the editor handles the source image when target dimensions are unset or very large, then reproduce with the supplied call. Done when the saved photo retains its original resolution without configured size constraints.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Current Behavior
Taking a photo with the in-app editor resizes the image to the screen resolution.
Happens when targetWidth and targetHeight are not configured and also happens when I set them to a very large value, e. g.: targetWidth: 8000, targetHeight: 8000.
My camera takes photos in 3000x4000 px resolution. Photos taken with editable: 'in-app' result in a size of 974x1298 px which seems to be the scaled down image size that was displayed on my phone screen during the editing process. We have tested this with other phones that result in even smaller sizes (due to smaller screen resolution sizes).
Expected Behavior
It should not resize the image without targetWidth and targetHeight constraints.
Reproduction
Camera.takePhoto({saveToGallery: true, editable: 'in-app', quality: 100})
Screenshots / Media
No response
Environment Details
Latest Dependencies:
@capacitor/cli: 8.5.3
@capacitor/core: 8.5.3
@capacitor/android: 8.5.3
@capacitor/ios: 8.5.3
Installed Dependencies:
@capacitor/ios: not installed
@capacitor/cli: 8.5.3
@capacitor/core: 8.5.3
@capacitor/android: 8.5.3
[success] Android looking great! 👌
npm --version
12.2.1
node --version
v26.12.1
Versions Affected
8.2.6
Platforms Affected
- iOS
- Android
- Web
Notes / Comments
No response
- Ngôn ngữ chính
- TypeScript
- Star
- 6
- Fork
- 3
- Merge trung bình
- 2 ngày 18 giờ
- Pull request đã merge (30 ngày)
- 6
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ionic-team/capacitor-camera
-
bug(android): NullPointerException on ActivityResultLauncher.unregister() in LegacyCameraFlowĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
ionic-team/capacitor-camera#75 · 1 reaction ·
-
[Bug]: Crash SecurityException: No persistable permission grants found in IONCAMROpenPhotoPickerActivityCó thể đã có người làm @ankit-edii đã nhận 27 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
ionic-team/capacitor-camera#58 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
ionic-team/capacitor-camera#76 · 1 bình luận · 1 reaction ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
ionic-team/capacitor-camera#74 · 1 reaction ·
Tất cả issue của ionic-team/capacitor-camera
Issue tương tự
-
area:tooling good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
interledger/publisher-tools#1007 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
priority/medium roadmap/v1.1.1 stakeholder/rapr type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
databrickslabs/ontos#1420 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
vercel-labs/just-bash#756 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: ci good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
interledger/web-monetization-extension#1555 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[t-dialog] 弹窗组件和抽屉组件的文档说明不够详细清楚Đang mở🐞 bug 🧐 unconfirmed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Tencent/tdesign-vue-next#7056 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày