Fixes for image format

fixes for image format

Signed-off-by: Robert Coscia <coscia@g.harvard.edu>