[Bug]: Camera.takePhoto reduces the image size to the screen resolution when using `editable: 'in-app'`
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 67/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- android, typescript
- Área
- mobile-dev
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- TypeScript
- Estrellas
- 6
- Forks
- 3
- Merge medio
- 2 d 21 h
- PR fusionados (30 d)
- 4
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ionic-team/capacitor-camera
-
bug(android): NullPointerException on ActivityResultLauncher.unregister() in LegacyCameraFlowAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
ionic-team/capacitor-camera#75 · 1 reacción ·
-
[Bug]: Crash SecurityException: No persistable permission grants found in IONCAMROpenPhotoPickerActivityPosiblemente ocupada @ankit-edii la tomó hace 22 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
ionic-team/capacitor-camera#58 · 1 comentario ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
ionic-team/capacitor-camera#76 · 1 comentario · 1 reacción ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
ionic-team/capacitor-camera#74 · 1 reacción ·
Todos los issues de ionic-team/capacitor-camera
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
appandflow/stim#5258 ·
Los mantenedores suelen responder en 1 día
-
area/docs framework/hugo help wanted language/markdown
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
lingdojo/kana-dojo#33660 · 1 comentario · 5 reacciones ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
drizzle-team/drizzle-orm#6639 ·
Los mantenedores suelen responder en 4 días
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100