encoder ported, no compile

This commit is contained in:
Henry Schimke
2022-10-03 14:34:17 -05:00
parent bbf0b920bf
commit eaff1b6b64
8 changed files with 484 additions and 370 deletions

View File

@@ -702,7 +702,7 @@ pub trait Writer {
format: &BarcodeFormat,
width: i32,
height: i32,
hints: &HashMap<EncodeHintType, EncodeHintValue>,
hints: &EncodingHintDictionary,
) -> Result<BitMatrix, Exceptions>;
}
@@ -765,7 +765,7 @@ pub trait Reader {
fn decode_with_hints(
&self,
image: &BinaryBitmap,
hints: &HashMap<DecodeHintType, DecodeHintValue>,
hints: &DecodingHintDictionary,
) -> Result<RXingResult, Exceptions>;
/**