You could store all the data on the satellite, upload new code to process it differently, and download the resulting image. Then, the communications link just has to handle code (several MB up) and images (several MB down) instead of petabytes of data.
The launch mass of a petabyte of SSD is under 10 kg. I don't know if it would survive 17 years of space radiation though.