Split an imagestrip into individual images/icons

If you have a large horizontal image Nx16 and you’d like to split it into individual 16×16 icons, here’s how to do it in WPF. I had to look it up recently and nothing showed up, so it was faster to write it myself. I’m posting it here so that it’s easy to find in…

3