home << dhlab reference << dhlab.images.nbpictures

get_picture_from_urn#

from dhlab.images.nbpictures import get_picture_from_urn
get_picture_from_urn(urn, width=0, height=300)[source]#

Fetch the Image object with its URN identifier.

Parameters:
  • urn (int | str) – The uniform resource name number

  • width (int) – Resolution width of the image.

  • height (int) – Resolution height of the image.

Returns:

An Image object.