我如何将大小为 20x30 的 8 位位图数组下采样到 10x15
original_bitmap_array[20][30]
到downsample_array[10][15]
这是原始数组,它是字符“A”的表示1
形式0
00000000111100000000
00000001111100000000
00000001111100000000
00000001111110000000
00000011100110000000
00000011000110000000
00000011000111000000
00000011000011000000
00000111000011000000
00000110000011000000
00000110000011000000
00000110000011000000
00001110000001100000
00001110000001100000
00001100000001100000
00001100000000110000
00001100000000110000
00011111111111110000
00011111111111111000
00011111111111111000
00011111111111111000
00111111111111111000
00110000000000011000
00110000000000011100
01110000000000011100
01110000000000001100
01110000000000001110
01100000000000001110
11100000000000000110
11100000000000000111
现在有人可以告诉如何下采样成 10x15 数组,而不会丢失 char 'A'?