/**
 * 多图纵向拼接  超过两张
 * 需要自己判断图片是否超过两张
 */
public static Bitmap splitVerticalList(List<File> list) {
    int height = 0;
    int width = 0;

    if (list != null && list.size() > 0) {
        Bitmap bitmap = BitmapFactory.decodeFile(list.get(0).getAbsolutePath());
        width = bitmap.getWidth();
        for (int i = 0; i < list.size(); i++) {
            Bitmap bitmap1 = BitmapFactory.decodeFile(list.get(i).getAbsolutePath());
            height = height + bitmap1.getHeight();
            if (bitmap1.getWidth() > width) {
                width = bitmap1.getWidth();
            }
        }
        Bitmap result = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
        Canvas canvas = new Canvas(result);
        canvas.drawBitmap(bitmap, 0, 0, null);
        int h = bitmap.getHeight();
        for (int i = 0; i < list.size(); i++) {
            if(i !=0){
                Bitmap bitmap1 = BitmapFactory.decodeFile(list.get(i).getAbsolutePath());
                canvas.drawBitmap(bitmap1, 0, h, null);
                h = h + bitmap1.getHeight();
            }
        }
        return result;
    }
    return null;
}