Predict partial image specifications.

Fixes #293.