@@ -277,7 +277,7 @@ impl<R: Read> Read for PackBitsReader<R> {
277277
278278#[ cfg( feature = "fax" ) ]
279279pub struct Group4Reader < R : Read > {
280- decoder : fax :: decoder:: Group4Decoder < io:: Bytes < io:: BufReader < io:: Take < R > > > > ,
280+ decoder : fax34 :: decoder:: Group4Decoder < io:: Bytes < io:: BufReader < io:: Take < R > > > > ,
281281 line_buf : io:: Cursor < Vec < u8 > > ,
282282 height : u16 ,
283283 width : u16 ,
@@ -295,7 +295,7 @@ impl<R: Read> Group4Reader<R> {
295295 let height = u16:: try_from ( dimensions. 1 ) ?;
296296
297297 Ok ( Self {
298- decoder : fax :: decoder:: Group4Decoder :: new (
298+ decoder : fax34 :: decoder:: Group4Decoder :: new (
299299 io:: BufReader :: new ( reader. take ( compressed_length) ) . bytes ( ) ,
300300 width,
301301 ) ?,
@@ -317,21 +317,21 @@ impl<R: Read> Read for Group4Reader<R> {
317317 let next = self . decoder . advance ( ) . map_err ( std:: io:: Error :: other) ?;
318318
319319 match next {
320- fax :: decoder:: DecodeStatus :: End => ( ) ,
321- fax :: decoder:: DecodeStatus :: Incomplete => {
320+ fax34 :: decoder:: DecodeStatus :: End => ( ) ,
321+ fax34 :: decoder:: DecodeStatus :: Incomplete => {
322322 self . y += 1 ;
323323
324324 // We known `transitions` yields exactly `self.width` items (per doc).
325- let transitions = fax :: decoder:: pels ( self . decoder . transition ( ) , self . width ) ;
325+ let transitions = fax34 :: decoder:: pels ( self . decoder . transition ( ) , self . width ) ;
326326
327327 let buffer = self . line_buf . get_mut ( ) ;
328328 buffer. resize ( usize:: from ( self . width ) . div_ceil ( 8 ) , 0u8 ) ;
329329
330330 let target = & mut buffer[ ..] ;
331331
332332 let mut bits = transitions. map ( |c| match c {
333- fax :: Color :: Black => true ,
334- fax :: Color :: White => false ,
333+ fax34 :: Color :: Black => true ,
334+ fax34 :: Color :: White => false ,
335335 } ) ;
336336
337337 // Assemble bits in MSB as per our library representation for buffer.
0 commit comments