Image and Images

Links: notebook, html, PDF, python, slides, GitHub

This notebook illustrates images functionalies.

from jyquickhelper import add_notebook_menu
add_notebook_menu()

One local image

from pyquickhelper.helpgen import NbImage
NbImage("nbimage.png")
../_images/example_nbimage_3_0.png

One remote image

from IPython.display import Image
Image('https://github.com/sdpython/pyquickhelper/raw/master/_doc/sphinxdoc/source/phdoc_static/project_ico.png')
../_images/example_nbimage_5_0.png
NbImage('https://github.com/sdpython/pyquickhelper/raw/master/_doc/sphinxdoc/source/phdoc_static/project_ico.png')
../_images/example_nbimage_6_0.png

Multiple local images

NbImage("nbimage.png", "nbimage.png", width=400)
../_images/example_nbimage_8_0.png

Multiple remote images

NbImage("nbimage.png",
        'https://github.com/sdpython/pyquickhelper/raw/master/_doc/sphinxdoc/source/phdoc_static/project_ico.png',
       width=400)
../_images/example_nbimage_10_0.png