I have upgraded Magento from 184.108.40.206 to 2.2.1.
I have migrated data using data migration tool.
I have observed that for products for those images are marked excluded are appearing as hidden in Magento2 but in Magento1 which is marked as excluded still appearing on frontend as product base image and thumbnail as it is marked so.
For example, I have a product ABC and it has two images i1 and i2, both are marked as excluded but i2 is selected as base, small and thumbnail.
Now after migration in Magento2 both the images are hidden, which is correct and i2 is also showing correct tags like i2 is marked as small, base and thumbnail but it is not appearing on frontend.
What is the difference between two Magento versions in handling and processing images?