How can I zoom in&out of a displayed Julia output Image in a Jupyter notebook?

297 views Asked by At

In my jupyter notebook I'm computing and displaying images using the Images package. Is there a way that I can press a hotkey combination + mouse so I could zoom into the images i'm getting on the output?

For instance, I have this cell:

using Plots, Images, HTTP
r = HTTP.request("GET", "http://eeweb.poly.edu/%7Eyao/EL5123/image/lena_gray.raw")
img = reshape(r.body, 512, 512)
Gray.(img/255.)

Can I zoom into the displayed image on the output of this Cell?

1

There are 1 answers

2
tholy On

I'm not sure about Jupyter, but ImageView supports many different kinds of interactivity.