请问怎么把一张大图片分为N张小图片,都是长方形 
好像gdi+可以,但是不知道具体怎么操作
哪位大哥帮个忙啊!

解决方案 »

  1.   

    BOOL StretchBlt( 
      HDC hdcDest,      // handle to destination DC 
      int nXOriginDest, // x-coord of destination upper-left corner 
      int nYOriginDest, // y-coord of destination upper-left corner 
      int nWidthDest,  // width of destination rectangle 
      int nHeightDest,  // height of destination rectangle 
      HDC hdcSrc,      // handle to source DC 
      int nXOriginSrc,  // x-coord of source upper-left corner 
      int nYOriginSrc,  // y-coord of source upper-left corner 
      int nWidthSrc,    // width of source rectangle 
      int nHeightSrc,  // height of source rectangle 
      DWORD dwRop      // raster operation code 
    ); 
    用这个函数
      

  2.   

    建议使用CxImage库,开源的,常用图象操作都可以实现。