less magic in ImageFormat