streamlit-cropper icon indicating copy to clipboard operation
streamlit-cropper copied to clipboard

A simple image cropper for Streamlit

Results 12 streamlit-cropper issues
Sort by recently updated
recently updated
newest added

how we can check the default ratio of the picture

Everything was working fine in the past. Now I am getting a new error from the following code. `import streamlit as st from streamlit_cropper import st_cropper from PIL import Image...

@turner-anderson Could you explain how to build this app from scratch ? I could build streamlit-drawable-canvas but not yours. _Originally posted by @okome-git in https://github.com/turner-anderson/streamlit-cropper/issues/6#issuecomment-1014514631_

Hello [streamlit-cropper](https://github.com/turner-anderson/streamlit-cropper) Developers! I got the error `UnboundLocalError: local variable 'orig_file' referenced before assignment` with ```python st_cropper(Image.open(file), realtime_update=True, box_color='#0000FF', should_resize_image=False) ``` That's because the variable `orig_file` defined in a block...

Hi, How to download the generated image? Where is it saved? I'd like to use the streamlit download button to download or save the image.

I want to add text upon the original image with bounding box. It seems the st_cropper auto-generates the pic with bounding box and the cropped image. Is there any way...

Is it possible to place the cropper in the st.columns()? Or adjust the position of the thumbnail also on the right of the original image?

Consider the following code snippet ```python from streamlit_cropper import st_cropper import streamlit as st from PIL import Image tab_1, tab_2 = st.tabs(["TAB-1", "TAB-2"]) img_file = st.sidebar.file_uploader( label='Upload a file', type=['png',...

Hello streamlit-cropper team, I noticed some unexpected behavior, when I was trying to make the selection box persistant. I used the `return_Type="both"` option in the `st_cropper` function to get the...

The image size is fixed while calling st_cropper. When the uploaded image is bigger in size than while passing that image to st_cropper it is display in a fixed size...