How to split/slice image give each image Id to save in Database C#
I'm tying to figure out away to split/slice a large image >5000x5000 PX into small images using a grid system where each slice have its unique ID then save images in database
Each slice should have its location (width,height + X,Y) on the original image (maybe in arra开发者_C百科y) so later on i can ReBuild the original image using these slices
http://i.stack.imgur.com/PKYem.jpg
You can use Bitmap.Clone Method (Rectangle, PixelFormat) to slice the image rectangle by rectangle.
精彩评论