@@ -0,0 +1,699 @@
+package com.whlib.alib.graphics;%0D%0A%0D%0Aimport android.graphics.Bitmap;%0D%0A%0D%0A/**%0D%0A * Created by wanghui5-s on 2015/11/12.%0D%0A */%0D%0Apublic class BitmapHelper %7B%0D%0A%0D%0A    public static int%5B%5D getBitmapPixels(Bitmap bitmap, int x, int y, int width, int height) %7B%0D%0A        int%5B%5D pixels = new int%5Bbitmap.getWidth() * bitmap.getHeight()%5D;%0D%0A        bitmap.getPixels(pixels, 0, bitmap.getWidth(), x, y,%0D%0A                width, height);%0D%0A        final int%5B%5D subsetPixels = new int%5Bwidth * height%5D;%0D%0A        for (int row = 0; row %3C height; row++) %7B%0D%0A            System.arraycopy(pixels, (row * bitmap.getWidth()),%0D%0A                    subsetPixels, row * width, width);%0D%0A        %7D%0D%0A        return subsetPixels;%0D%0A    %7D%0D%0A%7D%0D%0A

Add BitmapHelper