Adding grid to images
I, myself have used this site yomotherboard to overlay a grid so I can sketch the outline and features of several drawings more accurately
This tool is also good, photomultitool
You can probably achieve something with imagemagick