Creating huge high-resolution Bitmap bigger than 2

2019-03-04 05:36发布

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.

2条回答
Explosion°爆炸
2楼-- · 2019-03-04 05:45

Have you looked at the Deep Zoom functionality in Silverlight?

查看更多
叛逆
3楼-- · 2019-03-04 06:06

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).

查看更多
登录 后发表回答