-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
bug: capawesome file-picker #347
Comments
Can you reproduce this issue on all 3 platforms (Android, iOS, Web) or only on a specific one? |
Hello, thank you for the fast response. Yes. Note I have also tried version 6.2.0 and its still an issue |
This issue has been labeled as Please provide a Minimal, Reproducible Example using this template in a public GitHub repository so we can debug the issue. If you have already provided a code snippet and are seeing this message, it is likely that the code snippet was not enough for us to reproduce the issue. |
I have looked at this problem a little more and found that problem does not occur if I use the pickimages, that the camera plugin provides . So to sum up. using FilePicker.pickImages results in the orientation in the EXIF data being "90 degree rotated" but if I use the pickImages from the camera plugin it will be 1 , 3, 6 for the orientation. The camera plugin also have an input param correctOrientation. what I also found is that they seem to use different galleries. I would suggest you to take inspiration from that plugin for the pickImages in this plugin |
First I need to be able to reproduce the problem. Please help me to help you and create a Minimal, Reproducible Example using this template. This will speed up the whole process. |
Plugin(s)
Version
6.0.0
Platform(s)
Current behavior
When I select an image from the phones gallery and upload it to the server which create a thumbnail, if the phone has been rotated, the created thumbnail will also be rotated. The full image is not rotated. The EXIF data is also different on orientation when the image comes from gallery. The reason I see this as an issue, is if I use the phones camera with the capacitor camera plugin and take images with different rotations, the thumbnail will not get rotated, it will simply get the correct dimentions fx portrait mode will show the thumbnail in portrait.
When I look at the EXIF data of the image from camera directly it shows orientation Standard portrait, however the same image from gallery will have 180 degree rotated on orientation.
Expected behavior
I expect the images from gallery have the correct orientation similar to the images that are taken from the phone
Reproduction
i dont have
Steps to reproduce
should be clear from description
Other information
No response
Capacitor doctor
?
Before submitting
The text was updated successfully, but these errors were encountered: