Seems like there should be a library that does this fairly efficiently for ultra large images.
Not sure how many 417-megapixel images are out there where this would be something someone works on "over a weekend". We just need the right person to come along at the right time to think it would be a cool thing to do just because.