IJulia displayed image size


#1

How can I control the size of the images displayed in IJulia? It seems to pick a size regardless of the pixel size in a way I don’t understand.


#2

The way the show method is implemented (link) it makes sure that the image has a certain min/max pixel count.

As to motivation for this, Prof Holy wrote the following comment there

Really large images can make display very slow, so we shrink big images. Conversely, tiny images don’t show up well, so in such cases we repeat pixels.


#3

Displayed by what? The Images package, a plotting package, …?

Basically, it is up to the show routine for whatever type you are displaying, and different packages will give you different levels of control over this.