Handling of large images (up to 60 million pixel)

Would be the same approach as for Assign cover for PDF in the panel - #2 by distantnative