I am working on some project for Windows Phone 7, where I have loaded large image (resolution 10 000x10 000 and bigger) in data stream and I need divide this large image into smaller pieces from that stream.
Is there any C# library which I could u开发者_运维知识库se? Or can you prompt me how to do that?
Thanks a lot
Is that not the purpose of the silverlight DeepZoom technology? Maybe that would fit your purpose.
http://blogs.msdn.com/b/priozersk/archive/2010/03/28/deep-zoom-on-wp7.aspx
Where are you geting this image from?
I'd guess from a web service/server somewhere.
I'd move the image processing to a webserver/service too.
A large image would likely take a lot of processing on the device. You could do this faster on the server and therefore make your app more responsive. You could also start showing smaller images sooner on the device as it wouldn't have to download the larger one. If multiple clients wanted the same larger image then you could cache the data on the web servers and so subsequent requests for images (by other users/devices) would be served even faster.
On the server (assuming you can run .net there too) you could then use the Graphics class to edit the image as needed.
精彩评论