.. _examplenbimagerst: ================ Image and Images ================ .. only:: html **Links:** :download:`notebook `, :downloadlink:`html `, :download:`PDF `, :download:`python `, :downloadlink:`slides `, :githublink:`GitHub|_doc/notebooks/example_nbimage.ipynb|*` This notebook illustrates images functionalies. .. code:: ipython3 from jyquickhelper import add_notebook_menu add_notebook_menu() .. contents:: :local: One local image --------------- .. code:: ipython3 from pyquickhelper.helpgen import NbImage NbImage("nbimage.png") .. image:: example_nbimage_3_0.png One remote image ---------------- .. code:: ipython3 from IPython.display import Image Image('https://github.com/sdpython/pyquickhelper/raw/master/_doc/sphinxdoc/source/_static/project_ico.png') .. image:: example_nbimage_5_0.png .. code:: ipython3 NbImage('https://github.com/sdpython/pyquickhelper/raw/master/_doc/sphinxdoc/source/_static/project_ico.png') .. image:: example_nbimage_6_0.png Multiple local images --------------------- .. code:: ipython3 NbImage("nbimage.png", "nbimage.png", width=400) .. image:: example_nbimage_8_0.png :width: 400px Multiple remote images ---------------------- .. code:: ipython3 NbImage("nbimage.png", 'https://github.com/sdpython/pyquickhelper/raw/master/_doc/sphinxdoc/source/_static/project_ico.png', width=400) .. image:: example_nbimage_10_0.png :width: 400px