public Bitmap getBitmap(int scaleFactor) {
        return getBitmap(cropRect, scaleFactor);
    }
Return the source bitmap (cropped; in display orientation).

@param scaleFactor factor to scale down by. Must be a power of 2.
@return the bitmap
zxing-android-embedded/src/com/journeyapps/barcodescanner/SourceData.java