fix format suffixes; fix image data shift bug (closes #14)
Merge remote-tracking branch 'origin/version-3.0' into version-0.4