biPlanes = channels fix

This commit is contained in:
Stanislav Brabec 2000-04-26 20:37:44 +00:00
parent a818adf93e
commit df5b3da35f
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ WriteBMP (gchar *filename,
Bitmap_Head.biWidth = cols;
Bitmap_Head.biHeight = rows;
Bitmap_Head.biPlanes = 1;
Bitmap_Head.biPlanes = channels;
Bitmap_Head.biBitCnt = BitsPerPixel;
if (encoded == 0)