Package 

Class BitmapUtil


  • 
    public class BitmapUtil
    
                        

    A small utility class for handling storing bitmaps to disk.

    • Method Summary

      Modifier and Type Method Description
      static void saveBitmapToStorage(Bitmap theBitmap, String fileID) Save bitmap to SD card for later reference - only use this for debugging, since doing this in real time OCR situations is prohibitively slow
      static File saveBitmapToPrivateStorage(Context context, Bitmap image) Stores the bitmap to private storage with a randomly generated name and returns the File object that it was stored in.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • saveBitmapToStorage

         static void saveBitmapToStorage(Bitmap theBitmap, String fileID)

        Save bitmap to SD card for later reference - only use this for debugging, since doing this in real time OCR situations is prohibitively slow

      • saveBitmapToPrivateStorage

         static File saveBitmapToPrivateStorage(Context context, Bitmap image)

        Stores the bitmap to private storage with a randomly generated name and returns the File object that it was stored in.