Photoshop

Apply the Extrude filter

  1. Choose Filter > Stylize > Extrude.
  2. Choose a 3D type:
    • Blocks creates objects with a square front face and four side faces. To fill the front face of each block with the average color of the block, select Solid Front Faces. To fill the front face with the image, deselect Solid Front Faces.

    • Pyramids creates objects with four triangular sides that meet at a point.

  3. Enter a value in the Size text box to determine the length of any side of the object’s base, from 2 to 255 pixels.
  4. Enter a value in the Depth text box to indicate how far the tallest object appears to protrude from the screen, from 1 to 255.
  5. Choose a depth option:
    • Random to give each block or pyramid an arbitrary depth.

    • Level-based to make each object’s depth correspond to its brightness—bright protrudes more than dark.

  6. Select Mask Incomplete Blocks to hide any object extending beyond the selection.