public static Bitmap getBitmap(final byte[] image, int width, int height) {
        Point size = getSize(image);
        return getBitmap(image, getScale(size, width, height));
    }
Get bitmap with maximum height or width

@param image
@param width
@param height
@return image
app/src/main/java/com/github/pockethub/android/util/ImageUtils.java