img->x0 = Dim[0];
img->y0 = Dim[1];
img->x1 =
- !Dim[0] ? (w - 1) * subsampling_dx + 1 : Dim[0] + (w -
- 1) *
- subsampling_dx + 1;
+ !Dim[0] ? (w - 1) * subsampling_dx + 1 : Dim[0] + (w - 1) *
+ subsampling_dx + 1;
img->y1 =
- !Dim[1] ? (h - 1) * subsampling_dy + 1 : Dim[1] + (h -
- 1) *
- subsampling_dy + 1;
+ !Dim[1] ? (h - 1) * subsampling_dy + 1 : Dim[1] + (h - 1) *
+ subsampling_dy + 1;
img->numcomps = 3;
img->color_space = 1;
img->comps =
fprintf(Compo1, "%c", table_G[(int)
RGB[(Info_h.biHeight - line -
1) * Info_h.biWidth + col]]);
- fprintf(Compo2, "%c", table_B[(int)
+ fprintf(Compo2, "%c", table_B[(int)
RGB[(Info_h.biHeight - line -
1) * Info_h.biWidth + col]]);
}