給定每個pixel 為32-bit 的RGBA 的bitmap,其轉換為黑白影像的函式為: void rgba_to_bw(uint32_t *bitmap, int width, int height, long stride) { for (int row = 0; ...
確定! 回上一頁