pub(crate) fn raw_size_idat(&self, w: u32, h: u32) -> u32 {
        /*will not overflow for any color type if roughly w * h < 268435455*/
        let bpp = self.bpp();
        let line = ((w / 8) * bpp) + ((w & 7) * bpp + 7) / 8;
        h * line
    }
/*in an idat chunk, each scanline is a multiple of 8 bits, unlike the lodepng output buffer*/
in an idat chunk, each scanline is a multiple of 8 bits, unlike the lodepng output buffer
in an idat chunk each scanline is a multiple of 8 bits unlike the lodepng output buffer
pub(crate) fn raw_size_idat(&self, w: u32, h: u32) -> u32 {
        /*will not overflow for any color type if roughly w * h < 268435455*/
        let bpp = self.bpp();
        let line = ((w / 8) * bpp) + ((w & 7) * bpp + 7) / 8;
        h * line
    }
pub ( crate ) fn raw_size_idat ( & self , w : u32 , h : u32 ) -> u32 { /*will not overflow for any color type if roughly w * h < 268435455*/ let bpp = self . bpp ( ) ; let line = ( ( w / 8 ) * bpp ) + ( ( w & 7 ) * bpp + 7 ) / 8 ; h * line }
in an idat chunk, each scanline is a multiple of 8 bits, unlike the lodepng output buffer
in an idat chunk each scanline is a multiple of 8 bits unlike the lodepng output buffer
&self
w
u32
h
u32