flattenImages - What is the primary function of the flattenImages action?