pub(crate) fn encode24_file<PixelType: Copy + Pixel, P: AsRef<Path>>(
    filepath: P,
    raster: &Raster<PixelType>,
) -> Result<(), Error> {
    encode_file(filepath, raster, ColorType::Rgb, 8)
}
/// Same as `encode_file`, but always encodes from 24-bit RGB raw image
Same as `encode_file`, but always encodes from 24-bit RGB raw image
Same as ` encode_file ` but always encodes from 24 - bit RGB raw image
pub(crate) fn encode24_file<PixelType: Copy + Pixel, P: AsRef<Path>>(
    filepath: P,
    raster: &Raster<PixelType>,
) -> Result<(), Error> {
    encode_file(filepath, raster, ColorType::Rgb, 8)
}
pub ( crate ) fn encode24_file < PixelType : Copy + Pixel , P : AsRef < Path > > ( filepath : P , raster : & Raster < PixelType > , ) -> Result < ( ) , Error > { encode_file ( filepath , raster , ColorType :: Rgb , 8 ) }
Same as `encode_file`, but always encodes from 24-bit RGB raw image
Same as ` encode_file ` but always encodes from 24 - bit RGB raw image
filepath
P
raster
&Raster<PixelType>