BitMiracle.LibJpeg.Classic.Internal.jpeg_c_prep_controller.expand_bottom_edge C# (CSharp) 메소드

expand_bottom_edge() 개인적인 정적인 메소드

Expand an image vertically from height input_rows to height output_rows, by duplicating the bottom row.
private static expand_bottom_edge ( byte image_data, int rowsOffset, int num_cols, int input_rows, int output_rows ) : void
image_data byte
rowsOffset int
num_cols int
input_rows int
output_rows int
리턴 void
        private static void expand_bottom_edge(byte[][] image_data, int rowsOffset, int num_cols, int input_rows, int output_rows)
        {
            for (int row = input_rows; row < output_rows; row++)
                JpegUtils.jcopy_sample_rows(image_data, rowsOffset + input_rows - 1, image_data, row, 1, num_cols);
        }
    }