allow per-image format for raw features

Fixes #18