首先,图片必须是tif类型,问题:
1、把一个扫描生成的tif(如A3纸)文件,分割成2-4部分(或文件)。
2、把2、4个tif文件(大小相同)合并生成一个tif 文件。最好有源代码或例子,还有就是我已经下载了GraphicEx控件,但具体用那个函数不是很懂,由于事情紧急我只能求助各位高手了。小弟在此谢过了。
E_mail: [email protected]
QQ:30247595 
Msn:[email protected] 
给我留言。万分感谢

解决方案 »

  1.   

    自己解决了。佩服一下自己。努力学习ing..............................
      

  2.   

    自己转换类型tif->bmpvar
    bmp1,bmp2,bmp3:tbitmap;
    begin
      bmp1:=tbitmap.create;
      bmp2:=tbitmap.create;
      bmp3:=tbitmap.create;
      bmp1.loadfromfile('1.bmp');
      bmp2.loadfromfile('2.bmp');
      bmp3.width:=bmp1.widht+bmp2.width+1;
      bmp3.canvas.draw(rect(0,0,bmp1.width,bmp1.height),bmp1);
      bmp3.canvas.draw(rect(bmp1.width+1,0,bmp3.width,bmp3.height),bmp2);
      bmp3.savetofile('3.bmp');
      bmp1.free;
      bmp2.free;
      bmp3.free;
    end;