WLJS LogoWLJS Notebook

Thumbnail

Thumbnail[image] gives a thumbnail version of an image.

  • Thumbnail[file] gives a thumbnail of an image stored in a file.
  • Thumbnail[url] gives a thumbnail of an image stored at a URL.
  • Thumbnail[spec, size] gives a thumbnail with the specified maximum pixel size.

Examples

Create thumbnail:

img = ExampleData[{"TestImage", "Lena"}];
Thumbnail[img]

Specify size:

Thumbnail[img, 50]

From URL:

Thumbnail["https://example.com/image.png", 100]

Please visit the official Wolfram Language Reference for more details.

On this page