You simply don't do that.
2500px * 3500px = 8,750,000 pixels
That's 17.5MB at 16bpp or 26.25MB at 24bpp.
There's no way you can possibly display an image of that size, so there's no reasobable explanation for why you might need to do it. Your device simply doesn't have that kind of memory.