X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2Fgdcmopenjpeg%2Fcodec%2Fconvert.c;h=2aeed36698aa3746ac6c905388a33544dbc43d10;hb=4f3b36b1db085e9be749d2cababa274d1e76b68d;hp=927319c656880869d11746cabd20b29b9090b166;hpb=6cf5c8ad8510034d929bc9de181b7ed0af48c9c4;p=gdcm.git diff --git a/src/gdcmopenjpeg/codec/convert.c b/src/gdcmopenjpeg/codec/convert.c index 927319c6..2aeed366 100644 --- a/src/gdcmopenjpeg/codec/convert.c +++ b/src/gdcmopenjpeg/codec/convert.c @@ -482,7 +482,7 @@ int bmptoimage(char *filename, j2k_image_t * img, int subsampling_dx, 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]]); }