Fixes #6 - overhead of large images.