Revert "add some simple examples to perform image and preview capture"

This reverts commit db3a960a4902e8fe1e3e26a4ae15e93142ec4981.