a couple of things before you go ottwith pin hole sharpness:
1. the 'beauty of pinhole images lies inthe fact that they are not perfectly sharp, don't ruin that.
2.there are two different 'optimal pinhole diameters; one one for maxresolution and one for max contrast(sharpness)
good luck.