package com.google.zxing;
-import com.google.zxing.common.ByteMatrix;
+import com.google.zxing.common.BitMatrix;
import java.util.Hashtable;
* @param height The preferred height in pixels
* @return The generated barcode as a Matrix of unsigned bytes (0 == black, 255 == white)
*/
- ByteMatrix encode(String contents, BarcodeFormat format, int width, int height)
+ BitMatrix encode(String contents, BarcodeFormat format, int width, int height)
throws WriterException;
/**
* @param hints Additional parameters to supply to the encoder
* @return The generated barcode as a Matrix of unsigned bytes (0 == black, 255 == white)
*/
- ByteMatrix encode(String contents, BarcodeFormat format, int width, int height, Hashtable hints)
+ BitMatrix encode(String contents, BarcodeFormat format, int width, int height, Hashtable hints)
throws WriterException;
}