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

How to get initial path of the photo #33

Closed
buelersandra opened this issue Dec 6, 2017 · 8 comments
Closed

How to get initial path of the photo #33

buelersandra opened this issue Dec 6, 2017 · 8 comments

Comments

@buelersandra
Copy link

if the image was already saved to on the device, how can i get the path. I want to use this to get the exif info

@fabian7593
Copy link
Owner

fabian7593 commented Dec 6, 2017 via email

@buelersandra
Copy link
Author

buelersandra commented Dec 6, 2017

The path obtained by magical camera
(String path = magicalCamera.savePhotoInMemoryDevice(magicalCamera.getPhoto(), "myTestPhotoName", MagicalCamera.JPEG, true);)
is the path it created for the image and not the original path.am i right?
my issue is i can't set all images from getphoto() to rotate say 270 when i don't know their original orientation else all images will be rotation even the ones with the normal orientation.

@fabian7593
Copy link
Owner

The rotate is different with any brands of devices...
Samsung for example have the camera in land scape, on most devices.
But I understand your question, please use this.
magicalCamera.getUriPaths().getUriPathsObject().getRealPath()

And tell me how did it go.

@buelersandra
Copy link
Author

will do ....thanks

@buelersandra
Copy link
Author

Cannot resolve method .getUriPaths()...might be a private method.

@fabian7593
Copy link
Owner

I review the code... and yes, I dont have this method public...
Im so sorry, in the next version of magical camera I fix it... but in this moment my recommendation is download the project and add the class manually and modify the class that you needed.

@buelersandra
Copy link
Author

will do...thanks for assistance.

@fabian7593
Copy link
Owner

The next version have this new feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants