问题
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.
回答1:
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).
回答2:
Have you looked at the Deep Zoom functionality in Silverlight?
来源:https://stackoverflow.com/questions/9888192/creating-huge-high-resolution-bitmap-bigger-than-23k-x-23k