How to change the display size of an image in IJulia (Jupyter)?

We can generate a random image with a rand array. However, regardless of the size of the array, the image is always displayed in Jupyter IJulia (in VS code) with a fixed size. Is there any way to adjust the display size?

You can upsample the image


thank you for the workaround. I am applying it to a custom gif out of images.

Here computing the upsample demands a lot of resources, is there a quicker way to resize the displayed output? Some parameter of the display function maybe? (Couldn’t find anything myself sofar)