# Image Uploading and Manipulation (demo)

**URL:** <https://forum.anaconda.com/t/image-uploading-and-manipulation-demo/23586>\
**Category:** PyScript\
**Created:** [May 31, 2022, 7:29pm UTC](https://forum.anaconda.com/t/image-uploading-and-manipulation-demo/23586 "2022-05-31T19:29:47Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Jan-Hendrik\_Müller](https://avatars.discourse-cdn.com/v4/letter/j/0075a9/32.png) [@Jan-Hendrik\_Müller](https://forum.anaconda.com/u/Jan-Hendrik_M%C3%BCller)\
**Post date:** [June 3, 2022, 1:52pm UTC](https://forum.anaconda.com/t/image-uploading-and-manipulation-demo/23586/4 "2022-06-03T13:52:56Z")

</div>

Hi @JeffGlass !  
Thanks for this great example, I think this can be very powerful to showcase image processing algorithms. One idea for such a project would be: Choose an emoji, choose an algorithm from scikit-image, and then see the magic happen.  
This is the normal python script:

```nohighlight
from PIL import Image
import matplotlib.pyplot as plt
import requests

emoji = "🐶"
emoji_code = "-".join(f"{ord(c):x}" for c in emoji).upper()
url = f"https://raw.githubusercontent.com/hfg-gmuend/openmoji/master/color/618x618/{emoji_code}.png"
print(url)

im = Image.open(requests.get(url, stream=True).raw)
plt.imshow(im)

```

As expected, the `import requests` fails in pyscript.  
In case that you are interested in this problem, would you be interested to make a minimal example that fetches an image from another URL using pyscript?

---

_[View the full topic](https://forum.anaconda.com/t/image-uploading-and-manipulation-demo/23586)._
