摘要: 刚好需要做图片裁剪,就在网上找了几个方法,都拿来试试,分析一下。 方法一(原帖地址:他的做法是将一个已知文件名的图片裁剪后保存为另一个文件,我根据自己的需要改成了输入和输出都是Image对象的方式):ImageCutCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->publicImageImageCut(intx,inty,intwidth,intheight,Imageimage){Bitmapbitmap=newBitmap(image); 阅读全文
posted @ 2009-08-11 16:55 ю意思я 阅读(425) 评论(0) 推荐(0) 编辑