sdt.brc.android
Class BarcodeReaderUtil
java.lang.Object
sdt.brc.android.BarcodeReaderUtil
public class BarcodeReaderUtil
- extends Object
Android helper class. Provide several useful static methods.
BarcodeReaderUtil
public BarcodeReaderUtil()
savePictureToJpegOnSDCard
public static void savePictureToJpegOnSDCard(YuvImage yuvImg,
int quality,
String folderPath,
String fileName)
- Method save image to JPEG compressed file on SD card
- Parameters:
yuvImg
- input imagequality
- JPEG quality value from 0 to 100folderPath
- folder on SD card where the file will be storedfileName
- file name
decodeImageToBitmap
public static Bitmap decodeImageToBitmap(YuvImage yuvImg)