For pinhole imaging, the optimal diameter of a pinhole is one where the pinhole is the same size as the diffraction disk it produces.
There is a calculator at: http://www.mrpinhole.com/calcpinh.php and a lot of information at: http://www.pinholeresource.com/pinhole.html -