Цитата:
Сообщение от albertelena
То есть таблица цветов нулевая при поле biBitCount =8.
как расшифровать значения цветов?
|
https://docs.microsoft.com/en-us/pre...3376(v%3Dvs.85)
Цитата:
biClrUsed
The number of color indexes in the color table that are actually used by the bitmap. If this value is zero, the bitmap uses the maximum number of colors corresponding to the value of the biBitCount member for the compression mode specified by biCompression.
|
Цитата:
Сообщение от albertelena
Как бы выяснить принципы перевода цветов, используемые в System.Drawing.Imaging::Bitmap и перевести картинку в цифры правильно?
|
https://docs.microsoft.com/en-us/dot...ramework-4.7.2
Для начала стоит убедиться, что верно файл читаете и по правильным смещениям. А также, что в поле компрессии?