Set up imageFormat object and initialize.