How to save the captured image in streamlit - android

I developed one streamlit application in that I will crop the images and preview the same but I don't know how to save the cropped image
I need help to save the image which I cropped and I should able to see the image when I press previous and next.

Related

Why selected image from the gallery is not showing?

I'm creating an app that went I click the button it will go to the gallery and whatever Choose in the gallery it will display on the image view the problem is when I select an image in my gallery and the size is 3mb up it will not display in an image view. Is there a way that I can display it even if the size is 3MB up?
are you using any particular library for picking image from your gallery!?

Next steps after succesfully taking image / selecting from gallery

I succesfully made this simple app of where you can either choose and image from gallery or take a picture: Pick Image From Gallery Or Camera In Android Studio Programmatically. But for my purpose, where the selected image needs to serve as a profile image, I want the image to be square.
Also, some photos that are selected from gallery are rotated (Not to mention they are rectangled)
Where do I go from here in order to make user crop and rotate the image before uploading it? I want the final result to be a square image with the correct rotation.
In terms of cropping the image, there are many image cropping libraries for Android for you to choose from.
It is possible that one of those will also allow the user to rotate the image. If not, you will need to handle that yourself.
If you only need to allow the user to rotate the image a few ways (e.g., portrait and landscape), you could use a Switch or Spinner to allow the user to choose a rotation, then rotate the ImageView to show them what it looks like. Once they choose a rotation to use, you can use a Matrix to rotate the Bitmap. Ideally, you would rotate the image after cropping, as photos are large and you may run out of memory trying to rotate a photo.

Load image, resize, save as resized image?

I'm now developing a simple android app that has to load an image using image picker, show in imageviewer and resize the image and thin save it as a new resized image (NOT SHOW ON GALLERY).
Please help me, I have no idea how to do it.

Taking Picture from camera gives small Image

If i want to take an image from Camera application,it is giving the small Image,If i access from gallery,it gives me enlarged image,Is there anyway to get the enlarged Image of camera .

How to capture image with camera and store it in a seperate folder

scene 1: I am having a task in android to capture image from its camera and store the captured image it in a separate folder,
scene1 i am now able to do now(means captured image is storing in my
customized folder(example folder name john)).
scene 2: Next task is to show all the captured image of my app in a
grid format having check box for selection of a images(just like
whats app does for image selection)
scene 2 i am able to do this from a good example to image in a grid
view like a android album gallery ,with a check box , but the thing
is that , the gallery is not showing my customized image folder and
its images where i have captured all the images from the app
please help me regarding this issue
Thanks in advance

Categories

Resources