Tom Kerkhove
Tom Kerkhove

Reputation: 2191

Creating huge high-resolution Bitmap bigger than 23k x 23k

I want to create a huge resolution Bitmap-image so that to load it into memory and transform it based on user-gestures.

I noticed that the limit for new Bitmap(int32,int32); is around 23000 but I need like 1159480 x 45920 with a bitdepth of 32.

Can someone help me out or is this impossible to do? I have 8 gigs of RAM.

Upvotes: 0

Views: 1359

Answers (1)

Adriano Repetti
Adriano Repetti

Reputation: 67090

ARE YOU REALLY SURE YOU NEED SUCH SIZE? It should be bigger than than 150GB. Moreover if you consider a point size of 1/72 of inch your image will be 409 km 500 m...

EDITED If you need a high resolution image of a large area you should consider to use multiple images with different resolutions (think Google Maps for example).

Upvotes: 1

Related Questions