Python improvements: ImageSpec overhaul, tests, fixes
Update PDF docs