I have problem with monochromatic raster (BitsPerComponent=1) when I use gflSetColorAt set color function. When I use function like that:
GFL_BITMAP *bmp;
GFL_COLOR col;
col.Red = 0;
col.Green = 0;
col.Blue = 0;
col.Alpha = 0;
int x, y;
gflSetColorAt( bmp, x, y, &col );
the function filled 8 pixels insteed of one.
Maybe I should use this function for that kind of raster with another way. Please tel me HOW?
Using gflSetColorAt function for monochromatic raster
Moderators: XnTriq, helmut, xnview
-
- Posts: 1
- Joined: Mon Jul 28, 2008 2:02 pm
-
- Author of XnView
- Posts: 44325
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France