
Although we usually think of pinhole pictures coming from box-like cameras, they can also come from an SLR or DSLR. Here's an example of a pinhole picture of the Alice Austen House in Staten Island, NY. It was taken with a Minolta Maxxum camera and a body cap (instead of the lens) that has a pinhole cut into it.

Incidentally, Alice Austen was a turn-of-the-century (last century) photographer who used a view camera to take some very interesting candid pictures.