WLJS LogoWLJS Notebook

RandomImage

RandomImage[max] gives an image with pseudorandom pixel values in the range 0 to max.

  • RandomImage[{min, max}] generates pseudorandom pixel values in the range min to max.
  • RandomImage[dist] generates pixel values using a symbolic distribution dist.
  • RandomImage[..., size] generates a random image of the specified size.
  • RandomImage[..., size, "type"] gives an image converted to the specified type.

Examples

RandomImage[1, {100, 100}]

Please visit the official Wolfram Language Reference for more details.

On this page