Fix the number of the supported image formats