New software identifies doctored images by finding inconsistent shadows, even with complex shapes and uneven surfaces. Larry Greenemeier reports.